Skip to content

Latest commit

 

History

History

app

Tea Brew Mobile App

Tea catalog and timer

Generate models

flutter pub run build_runner build --delete-conflicting-outputs

Debug run

Run with in-memory sync database:

flutter run ./lib/main.dart

Run with Hive database:

flutter run ./lib/main_hive.dart

The following argument removes all Hive data and creates mock data:

flutter run ./lib/main_hive.dart --dart-define=HIVE_MOCK_DATA=yes

The following argument removes all Hive data:

flutter run ./lib/main_hive.dart --dart-define=HIVE_CLEAN_DATA=yes

The following argument disables API:

flutter run ./lib/main_hive.dart --dart-define=NO_API=yes

Test with coverage

flutter test --coverage