Last active
December 5, 2018 15:42
-
-
Save rrousselGit/9088150df0c749f56671c51711546875 to your computer and use it in GitHub Desktop.
functional_widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/widgets.dart'; | |
import 'package:functional_widget_annotation/functional_widget_annotation.dart'; | |
part 'main.g.dart'; | |
@widget | |
Widget statelessExample({int foo, int bar}) { | |
return Text('$foo $bar'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment