Before running this example in the simulator, create any missing Flutter files - flutter create .
- and make sure the API is running: dart server.dart
. Finally, generate Brick's code: flutter pub run build_runner build
.
A progressive explanation of this example can be found on Flutter by Example.
While a normal installation should ignore *.g.dart
files, this project has them committed. This is for illustrative purposes to accessibly showcase Brick's output.