Created
December 5, 2018 15:41
-
-
Save rrousselGit/7863cc3a1902dce976a1f80d636312c2 to your computer and use it in GitHub Desktop.
functional_widget2
This file contains hidden or 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
| part of 'main.dart'; | |
| class StatelessExample extends StatelessWidget { | |
| const Foo({Key key, this.foo, this.bar}) : super(key: key); | |
| final int foo; | |
| final int bar; | |
| @override | |
| Widget build(BuildContext _context) { | |
| return statelessExample( | |
| foo: foo, | |
| bar: bar, | |
| ); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment