https://flutter.dev/docs/get-started/install/windows#android-setup
https://itnext.io/getting-started-with-flutter-desktop-91e8293bafcf
https://github.com/kenreilly/flutter-desktop-example
visual studio
https://github.com/mkiisoft/taphero
https://medium.com/flutter-community/from-zero-to-a-multiplatform-flutter-game-in-a-week-8245da931c7e
https://medium.com/flutter-community/more-than-a-flutter-web-app-is-a-full-flutter-website-c6bb210b1f16
Not implemented yet?
https://github.com/luanpotter/flame/issues/27
flame tutorial: Create a Mobile Game with Flutter and Flame – Beginner Tutorial
flutter for desktop tutorial: Flutter for Desktop: Create and Run a Desktop Application
Flutter: from Mobile to Desktop
* install flutter
groupadd flutterusers
gpasswd -a <user> flutterusers
chown -R :flutterusers /opt/flutter
chmod -R g+w /opt/flutter
newgrp flutterusers
flutter channel master
flutter upgrade
flutter doctor
* install android-sdk
* set ANDROID_HOME in bashrc
chown -R :flutterusers /opt/android-sdk
chmod -R g+w /opt/android-sdk
* install android-studio
flutter config --android-sdk /opt/android-sdk/
install flutter plugin(dart plugin installed automatically)
if there's a permission issue with stamp
chown -R $USER:root /opt/flutter/
flutter config --enable-linux-desktop #https://flutter.dev/desktop#tooling
do git clone # https://medium.com/flutter-community/flutter-for-desktop-create-and-run-a-desktop-application-ebeb1604f1e0
flutter run
yay -S clang rsync
# https://medium.com/flutter/announcing-flutter-linux-alpha-with-canonical-19eb824590a9
# core dumped!
# crash on wayland
https://github.com/flutter/flutter/issues/57932
# workaround
https://github.com/flutter/flutter/pull/60654/files
add below codes to main.cc
gdk_set_allowed_backends("x11");
댓글 없음:
댓글 쓰기