1.3 KiB
1.3 KiB
TT-001 — Dependencies Setup & Build Runner
Type: Task
Priority: Highest
Labels: setup, infrastructure
Depends on: —
Blocks: TT-002, TT-003
Summary
Run flutter pub get to install all declared dependencies and verify the
project compiles. Set up build_runner as the code-generation pipeline for
drift, freezed, and riverpod_generator.
Background
pubspec.yaml has been populated with all required packages but pub get
has not been run yet. Generated files (*.g.dart, *.freezed.dart) do not
exist and will cause compile errors until build_runner has run at least once.
Acceptance Criteria
flutter pub getexits with code 0, no resolution conflictsdart run build_runner build --delete-conflicting-outputsexits with code 0flutter analyzereports zero errors (warnings acceptable for stubs)flutter build apk --debug(orflutter build web) succeeds
Steps
flutter pub getdart run build_runner build --delete-conflicting-outputsflutter analyze- Fix any immediate compile errors in generated stubs
Notes
- If version conflicts arise, prefer the newer package and update
pubspec.yaml app_router.g.dartwill fail until@riverpodannotation resolves — this is expected and will be fixed as part of this ticket