TextTr constructor
TextTr(})
Creates a TextTr widget.
The data parameter is the localization key that will be translated.
The arguments parameter is an optional map of key-value pairs for
string interpolation in the translated text.
All standard Text parameters are supported.
Implementation
TextTr(
String data, {
super.key,
super.style,
super.textAlign,
super.maxLines,
super.overflow,
super.softWrap,
super.textDirection,
super.locale,
super.semanticsLabel,
this.arguments,
}) : super(data.tr(arguments: arguments));