AFTranslationID class
ID type which can be used to refer to translations specified in xxx_define_core.dart.
However, note that theme methods allow you to address translations by widget id, and you can just hard code strings in your primary langauge if you prefer to avoid maintaining ids.
- Inheritance
- Implementers
Constructors
- AFTranslationID(String code, AFLibraryID library, {List? values})
-
const
Properties
- code → String
-
no setterinherited
- codeId → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- library → AFLibraryID?
-
finalinherited
- libraryTag → String
-
no setterinherited
- prefix → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- values → List?
-
final
- withCount → int
-
no setterinherited
-
withItems
→ List<
Object> ? -
finalinherited
Methods
-
accessFirstWithItem<
TItem extends Object> () → TItem -
inherited
-
accessSecondWithItem<
TItem extends Object> () → TItem -
inherited
-
accessThirdWithItem<
TItem extends Object> () → TItem -
inherited
-
accessWithItem<
TItem extends Object> (int n) → TItem -
inherited
-
compareTo(
AFID other) → int -
inherited
-
endsWith(
String ends) → bool -
inherited
-
insert1(
dynamic value) → AFTranslationID - Used to insert values into translated text.
-
insert2(
dynamic v1, dynamic v2) → AFTranslationID - See insert1
-
insert3(
dynamic v1, dynamic v2, dynamic v3) → AFTranslationID - See insert1
-
insertN(
List values) → AFTranslationID - See insert1
-
isKindOf(
AFID other) → bool -
inherited
-
isLibrary(
AFLibraryID lib) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override