Last active
April 5, 2019 15:03
-
-
Save Jonathanlight/c8d95dc4403c000c1777bcf78619aeeb to your computer and use it in GitHub Desktop.
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
new Text( | |
FlutterI18n.translate(context, "label.main", | |
Map.fromIterables(["user"], ["Flutter lover"])) | |
), | |
new Text( | |
FlutterI18n.plural(context, "clicked.times", clicked) | |
), | |
new FlatButton( | |
color: Colors.blue, | |
onPressed: () async { | |
incrementCounter(); | |
}, | |
child: new Text(FlutterI18n.translate(context, "button.clickMe")) | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment