diff --git a/pages/common/flutter.md b/pages/common/flutter.md index 567626f77..01489a250 100644 --- a/pages/common/flutter.md +++ b/pages/common/flutter.md @@ -3,23 +3,11 @@ > Google's free, open source, and cross-platform mobile app SDK. > More information: . -- Check the Flutter version: - -`flutter --version` - -- Display general help: - -`flutter help` - - Display help about a specific command: `flutter help {{command}}` -- Execute a Flutter command: - -`flutter {{command}}` - -- Show information about the installed tooling: +- Check if all external tools are correctly installed: `flutter doctor` @@ -31,6 +19,14 @@ `flutter run -d all` +- Download all packages specified in `pubspec.yaml`: + +`flutter pub get` + - Run tests in a terminal from the root of the project: `flutter test {{test/example_test.dart}}` + +- Build a release APK targeting most modern smartphones: + +`flutter build apk --target-platform {{android-arm}} {{android-arm64}}`