ExpressiveFabMenuColor enum

The FAB menu's colour family: the toggle morphs from the container colour to the vibrant one as it opens; the items wear the container colour (ToggleFloatingActionButtonDefaults.containerColor, FloatingActionButtonMenuItem).

Inheritance
Available extensions

Values

primary → const ExpressiveFabMenuColor

primaryContainer → primary; items primaryContainer.

const ExpressiveFabMenuColor(ExpressiveColorRole.primaryContainer, ExpressiveColorRole.onPrimaryContainer, ExpressiveColorRole.primary, ExpressiveColorRole.onPrimary)
secondary → const ExpressiveFabMenuColor

secondaryContainer → secondary; items secondaryContainer.

const ExpressiveFabMenuColor(ExpressiveColorRole.secondaryContainer, ExpressiveColorRole.onSecondaryContainer, ExpressiveColorRole.secondary, ExpressiveColorRole.onSecondary)
tertiary → const ExpressiveFabMenuColor

tertiaryContainer → tertiary; items tertiaryContainer.

const ExpressiveFabMenuColor(ExpressiveColorRole.tertiaryContainer, ExpressiveColorRole.onTertiaryContainer, ExpressiveColorRole.tertiary, ExpressiveColorRole.onTertiary)
vibrant → const ExpressiveFabMenuColor

Vibrant primary throughout: the closed toggle, the open one and the items (Compose's ToggleFloatingActionButton(containerColor = containerColor(primary, primary)) with FloatingActionButtonMenuItem( containerColor = primary)). For a page whose surfaces sit too close to the containers for the toggle to stand out at rest.

const ExpressiveFabMenuColor(ExpressiveColorRole.primary, ExpressiveColorRole.onPrimary, ExpressiveColorRole.primary, ExpressiveColorRole.onPrimary)

Properties

container → ExpressiveColorRole
The closed toggle's and the items' container role.
final
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
onContainer → ExpressiveColorRole
Their content role.
final
onOpen → ExpressiveColorRole
The open toggle's icon role.
final
open → ExpressiveColorRole
The open toggle's container role.
final
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<ExpressiveFabMenuColor>
A constant List of the values in this enum, in order of their declaration.