benedicta-tech/flutter-commands icon
public
Published on 3/23/2025
benedicta-tech/flutter-commands

Rules

Commands

  • Build Android: flutter build apk --flavor [flavor name]
  • Build iOS: flutter build ipa --flavor [flavor name]
  • Run: flutter run --flavor[flavor name]
  • Run with explicit target: flutter run --flavor [flavor name] --target lib/main.dart
  • Lint: flutter analyze
  • Format: flutter format .
  • Tests: flutter test
  • Single test: flutter test test/path/to_test.dart
  • Integration test: flutter test integration_test/path/to_test.dart