ArgLocalizedString5 class
Methods
-
get(String arg1, String arg2, String arg3, String arg4, String arg5, [BuildContext? context])
→ String
-
Translates string by locale from given
context
.
You can get translation without passing context -
then the last cached locale will be used.
(Wrapping MaterialApp with AutoLocalizedApp is required).
Returns value with given arg1
, arg2
, arg3
, arg4
, arg5
applied.
-
getRaw([BuildContext? context])
→ String
-
Translates string by locale from given
context
.
You can get translation without passing context -
then the last cached locale will be used.
(Wrapping MaterialApp with AutoLocalizedApp is required)
Returns raw value (without args applied).
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
text({required String arg1, required String arg2, required String arg3, required String arg4, required String arg5, Key? key, BuildContext? context, TextStyle? style, StrutStyle? strutStyle, TextAlign? textAlign, TextDirection? textDirection, Locale? locale, bool? softWrap, TextOverflow? overflow, double? textScaleFactor, int? maxLines, String? semanticsLabel, TextWidthBasis? textWidthBasis, TextHeightBehavior? textHeightBehavior})
→ Widget
-
Translates string by locale like get method
and wraps it with Text widget
-
toJson()
→ Map<String, dynamic>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<T>({required T plain(PlainLocalizedString string), required T arg1(ArgLocalizedString1 string), required T arg2(ArgLocalizedString2 string), required T arg3(ArgLocalizedString3 string), required T arg4(ArgLocalizedString4 string), required T arg5(ArgLocalizedString5 string)})
→ T
-
inherited