i18n_translated_text 1.0.1 i18n_translated_text: ^1.0.1 copied to clipboard
A helper package for translating i18n:// prefixed texts. Uses flutter_i18n internally for translations.
i18n translated text #
A utility package extending text to auto translate i18n://
prefixed strings using flutter_i18n
.
Usage #
Register your i18n translations as described in the flutter_i18n
package.
Texts prefixed with i18n://
will be translated automatically by the widget.
TranslatedText('i18n://hello_world');
You can use all other properties of the Text
widget as well.
TranslatedText(
'i18n://hello_world',
style: TextStyle(fontSize: 24),
);