-
Notifications
You must be signed in to change notification settings - Fork 4
Flutter Tools
Franz Noel edited this page Apr 6, 2018
·
9 revisions
Simple commands to remember in flutter
-
open -a Simulator
- open iOS simulator on a Mac. -
flutter devices
Display all devices currently running. Note of the device_id displayed. -
flutter run -d <device_id>
- run flutter on the identified device. -
flutter run -t lib/main.dart
- run flutter mainly on the specific file.
If you have issues with running the Android app, follow these steps:
-
flutter doctor --android-licenses
- Make sure that you agree to the license (If you see a black screen when opening Android emulator) - Make sure that you have installed "Android Emulator" in Android Studios
- Make sure that the Android emulator is open before you can see it in the devices.
With all those satisfied in Android, you can run the codes indicated above.
- Flutter Icons (Replace spaces with underscores)
- Flutter with Firebase
- Flutter Colors
- Flutter Widgets
- Flutter Assets (using pubspec.yaml)