build_and_run
Build & Run Guide
Prerequisites
- Flutter SDK installed and on PATH
- Android Studio/Xcode for native toolchains
- Dart/Flutter dependencies fetched via flutter pub get
Setup
1) Install dependencies
- flutter pub get
2) Platform-specific setup
- Android: ensure an emulator or device connected; configure signing if releasing
- iOS: run cd ios && pod install (on macOS) then open workspace if needed
Run
- Debug: flutter run
- Select target device from IDE or CLI device picker
Build
- Android APK: flutter build apk --release
- Android AppBundle: flutter build appbundle
- iOS: flutter build ios --release
- Web: flutter build web
Environment
- API endpoints/tokens are configured in dio_service.dart and token managers
- Certificates at assets/certs/ if TLS pinning or self-signed cert needed
Localization/Fonts
- Fonts configured in pubspec.yaml under assets/fonts