Skip to content

Instantly share code, notes, and snippets.

@Jonathanlight
Last active April 5, 2019 15:03
Show Gist options
  • Save Jonathanlight/c8d95dc4403c000c1777bcf78619aeeb to your computer and use it in GitHub Desktop.
Save Jonathanlight/c8d95dc4403c000c1777bcf78619aeeb to your computer and use it in GitHub Desktop.
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