- Flutter 3.24.0 (stable) - Matches CI
- Hardware Even Realities G1 Smart Glasses
git clone git@github.com:AI-Smarties/front.git cd front git switch dev flutter --version flutter doctorCI uses Flutter-version 3.24.0 (stable).
flutter pub getCreate config_dev.json and config_staging.json:
Get an example of config_*.example.json files
{
"API_URL": "127.0.0.1:8000"
} flutter run --dart-define-from-file=config_dev.json flutter run --dart-define-from-file=config_staging.jsonYou can start the program with Ctrl + Shift + d and select the environment in the upper left corner where the program will be started.
CI checks the formatting, analysis and tests.
Run locally:
dart format --output=none --set-exit-if-changed . flutter analyze flutter testLinting is enabled by adding
very_good_analysis and analysis_options.yaml.
When you return to coding:
- Fetch the latest changes:
git checkout dev git pull origin dev- Install dependencies:
flutter pub get- Run the application (For example in the dev environment):
flutter run --dart-define-from-file=config_dev.json- Ensure CI-throughput before PR:
dart format --output=none --set-exit-if-changed lib test flutter analyze flutter testrun command
flutter build apk --dart-define-from-file=config_staging.jsonrun command
flutter build ios --release --dart-define-from-file=config_staging.jsonthen install it to usb connected phone
flutter installlib/– Application UI and application logictest/– Unit- and widget testingandroid/,ios/– Nativeprojects.github/workflows/– CI (format/analyze/test)analysis_options.yaml– lint-rulespubspec.yaml– Flutter/Dart dependencies
Frontend for Everyday AI productivity interface for Even Realities G1 smart glasses.
Frontend is intended to be used with the FastAPI backend