hiro

Generate arguments class and builder function for widget page.

Installation

Add dependencies in your pubspec.yaml:

dependencies:
  hiro:

dev_dependencies:
  build_runner:

Getting Started

Add the part line as such:

part 'sample_page.g.dart';

Annotate your class with @HiroPage:

@HiroPage()
class SamplePage {}

Run build_runner:

$ flutter packages pub run build_runner build

Libraries

hiro
builder
Configuration for using package:build-compatible build systems.