Flutter is an open-source UI toolkit by Google for building natively compiled apps for mobile (iOS, Android), web, and desktop from a single codebase.

Cheat sheet Link to heading

Command Description Example
flutter –version Check Flutter SDK version
flutter upgrade Upgrade Flutter SDK
flutter doctor Show information about the installed tooling
flutter create Create a new Flutter project flutter create my_app
flutter create . –platforms=platform-name Add specific platform flutter create . –platforms=ios
flutter pub get Fetch dependencies
flutter pub upgrade Upgrade dependencies
flutter pub run Run a script flutter pub run build_runner build
flutter format Format code flutter format lib/
flutter analyze Run static analysis
dart fix –apply Auto-fix lint issues
flutter test Run all tests
flutter clean Remove build artifacts
flutter channel stable Switch to stable channel
flutter devices List connected devices
flutter emulators List available emulators
flutter run Run flutter app on connected device/emulator
flutter emulators –launch Launch an emulator flutter emulators –launch Pixel_7
flutter run -d chrome/android/ios Run flutter app on chrome/android/ios
flutter run –release/profile Run in release/profile mode
flutter attach Attach to a running app
flutter build artifact-type Build artifact flutter build web –release
  • Dio - HTTP networking
  • json_serializable - JSON serializaion
  • Riverpod / Provider - State management
  • sqflite - Plugin for SQLite
  • shared_preferences - Plugin for reading and writing simple key-value pairs
  • flutter_secure_storage - to store data in secure storage
  • Hive - a lightweight and buzzing-fast key-value database
  • GoRouter - Declarative routing
  • cached_network_image - A library to load and cache network images
  • flutter_svg - SVG rendering
  • fl_chart - A highly customizable Flutter chart library
  • image_picker - Plugin for picking images from the image library
  • flutter_native_splash - for customizing this native splash screen
  • intl - Localization
  • mobile_scanner - for scanning barcodes and QR codes
  • qr_flutter - for rendering QR code
  • url_launcher - for launching a URL
  • path_provider - for finding commonly used locations on the filesystem
  • package_info_plus - for querying information about the application package
  • file_picker - to use a native file explorer to pick single or multiple absolute file paths
  • camera - for controlling the camera
  • location / geolocator - for getting location
  • sensors - to access the accelerometer, gyroscope, magnetometer and barometer sensors
  • connectivity_plus - for discovering the state of the network (WiFi & mobile/cellular) connectivity
  • permission_handler - provides a cross-platform (iOS, Android) API to request permissions and check their status
  • battery_plus - to access various information about the battery
  • device_info_plus - returns platform-specific device information
  • firebase suite - to integerate Firebase
  • device_info_plus - to get current device information (name, model, os version, etc.) from within the Flutter application
  • uuid - Simple, fast generation of RFC4122 and RFC9562 UUIDs
  • nfc_manager - providing access to NFC features on Android and iOS.

Open source projects Link to heading

  • spotube
    • Open source music client! Available for both desktop & mobile!