Fluent2Press enum

The step of Fluent's colour aliases a face is drawn in: at rest, under the pointer, pressed, or disabled, as Fluent's Hover, Pressed and Disabled aliases step. Read from a press's states with Fluent2PressStates.press.

Inheritance
Available extensions

Values

rest → const Fluent2Press

Neither under the pointer nor pressed.

hover → const Fluent2Press

Under the pointer.

pressed → const Fluent2Press

Under a press.

disabled → const Fluent2Press

Taking no presses.

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
pick(Color rest, Color hover, Color pressed, [Color? disabled]) → Color
The colour of rest, hover or pressed by this state; disabled when given, else rest.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

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