flutter

flutter

TLDR

Display help about a specific command

$ flutter help [command]
copy

Check if all external tools are correctly installed

$ flutter doctor
copy

List or change Flutter channel

$ flutter channel [stable|beta|dev|master]
copy

Run Flutter on all started emulators and connected devices

$ flutter run -d all
copy

Download all packages specified in pubspec.yaml

$ flutter pub get
copy

Run tests in a terminal from the root of the project

$ flutter test [test/example_test.dart]
copy

Build a release APK targeting most modern smartphones

$ flutter build apk --target-platform [android-arm] [android-arm64]
copy

Copied to clipboard
free 100$ digital ocean credit