Last updated:
0 purchases
hiro
hiro #
Generate arguments class and builder function for widget page.
Installation #
Add dependencies in your pubspec.yaml:
dependencies:
hiro:
dev_dependencies:
build_runner:
copied to clipboard
Getting Started #
Add the part line as such:
part 'sample_page.g.dart';
copied to clipboard
Annotate your class with @HiroPage:
@HiroPage()
class SamplePage {}
copied to clipboard
Run build_runner:
$ flutter packages pub run build_runner build
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.