ArgLocalizedString3 class

Inheritance

Constructors

ArgLocalizedString3({required String key, required Map<String, String> values})
const
ArgLocalizedString3.fromJson(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
finalinherited
key String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Map<String, String>
finalinherited

Methods

get(String arg1, String arg2, String arg3, [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 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, 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

Operators

operator ==(Object other) bool
The equality operator.
inherited