AvataaarStyle class
- Mixed-in types
-
- Implementers
- Annotations
-
Methods
-
map<TResult extends Object?>({required TResult transparent(AvataaarTypeStyleTransparent value), required TResult circle(AvataaarTypeStyleCircle value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult transparent(AvataaarTypeStyleTransparent value)?, TResult circle(AvataaarTypeStyleCircle value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult transparent(AvataaarTypeStyleTransparent value)?, TResult circle(AvataaarTypeStyleCircle value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult transparent(Color color)?, TResult circle(Color color)?, required TResult orElse()})
→ TResult
-
inherited
-
next([Color? color])
→ AvataaarStyle
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
previous([Color? color])
→ AvataaarStyle
-
-
toIndex()
→ int
-
returns the index of AvataaarStyle.all, or -1 if no entry is found
override
-
toJson()
→ Map<String, dynamic>
-
inherited
-
toLabel([String languageCode = 'en'])
→ String
-
based on
languageCode
and LocalizationStrings returns the label
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
toSvgString(String path1, String path2, String mask2)
→ String
-
Individual SVG Part, only usable with the whole Avataaar
-
when<TResult extends Object?>({required TResult transparent(Color color), required TResult circle(Color color)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult transparent(Color color)?, TResult circle(Color color)?})
→ TResult?
-
inherited
Static Methods
-
returns the header string based on the
languageCode