ChipVariant enum
How a chip is drawn.
Values
- material → const ChipVariant
-
The default (SSUI) chip: a pill 24 high (20 at a height of 20 or less), 10 px padding, a 12 px avatar or check mark 6 px before the label, room for the check mark always kept so selecting never resizes it.
- plain → const ChipVariant
-
Exactly its ChipProps.padding (default 10 × 4) around a check (when selected, ChipProps.avatarSize wide, default 13), a ChipProps.spacing gap and the label, in its fill, side and shape: the compact tag chips of dashboards and forms.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
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<
ChipVariant> - A constant List of the values in this enum, in order of their declaration.