Budg1 Flutter project.
Create config in file config.json
:
{
"DATA_PROVIDER": "spring",
"SPRING_URL": "http://localhost:8080/api/v1"
}
Run the app specifying the config file:
flutter run --dart-define-from-file=config.json
Generate mocks and test:
dart run build_runner build
flutter test
If you get an error with build_runner, delete .dart_tool folder.