AvatarSize enum

Predefined size configurations for AvatarWidget.

Inheritance
Available extensions

Values

small → const AvatarSize

Small avatar (32px).

const AvatarSize(32, 16, 12)
medium → const AvatarSize

Medium avatar (48px).

const AvatarSize(48, 24, 16)
large → const AvatarSize

Large avatar (64px).

const AvatarSize(64, 32, 20)
extraLarge → const AvatarSize

Extra large avatar (96px).

const AvatarSize(96, 48, 28)

Properties

fontSize double
The font size of the text initials.
final
hashCode int
The hash code for this object.
no setterinherited
iconSize double
The size of the icon when displayed.
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
The diameter or side length of the avatar.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AvatarSize>
A constant List of the values in this enum, in order of their declaration.