Flutter Code Generation Examples

Code generation packages/tools used in the app:

  • flutter_localization/intl
  • build_runner
  • flutter_gen/flutter_gen_runner
  • freezed/freezed_annotation
  • json_serializable
  • mason


Presentation slides are provided here.

Talk video could be found here: TBD.


You can follow these instructions to build the app and install it onto your device.


If you are new to Flutter, please first follow the Flutter Setup guide.

Building and installing the Flutter Code Generation Examples app

git clone https://github.com/mkobuolys/flutter-code-generation.git
cd flutter-code-generation
flutter pub get
flutter pub run build_runner build
flutter run

The flutter run command both builds and installs the Flutter app to your device or emulator.