Created
July 11, 2021 08:44
-
-
Save nhancv/9d2f0ed25a23638385252b0ba66483cb to your computer and use it in GitHub Desktop.
Flutter get intl message by key manually
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
String get btnSkip { | |
return Intl.message( | |
// fallback text | |
context.strings.btnSkip, | |
// lang key | |
name: 'btnSkip', | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment