localization library

Classes

Localization
Cruzawl localization strings
LocalizationDelegate
LocalizationMarkup
Style applied to localization markup, e.g. {@}markedUp{@}
LocalizationMarkupVisitor
Visitor interface for parsing localization markup.
TextSpanLocalizationMarkupVisitor
Parses localization markup, e.g. "Before{@}markedUp{@}after" to: TextSpan(text: 'Before', children: TextSpan(text: 'markedUp'), TextSpan(text: 'after') )
WidgetsLocalizationMarkupVisitor
Parses localization markup, e.g. "Before{@}markedUp{@}after" to: List Text('Before'), Text('markedUp'), Text('after')

Functions

buildLocalizationMarkup(String text, LocalizationMarkupVisitor visitor, { TextStyle style, Map<String, LocalizationMarkup> tags }) → void
Parse unnested ARB guarded tags
buildLocalizationMarkupTextSpan(String text, { TextStyle style, Map<String, LocalizationMarkup> tags }) TextSpan
Parses localization markup to TextSpan.
buildLocalizationMarkupWidgets(String text, { TextStyle style, Map<String, LocalizationMarkup> tags }) → List<Widget>
Parses localization markup to List<Widget>.