From 017e0ced2e04c9ccd8ed479720a0bf9a5a3721b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Soszy=C5=84ski?= Date: Wed, 28 Oct 2020 19:03:05 +0100 Subject: [PATCH] flutter: remove useless examples and add release APK (#4853) --- pages/common/flutter.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) 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}}`