ExpressiveFabColor enum

A FAB's colour style: Material's three container styles and the three vibrant ones.

Inheritance
Available extensions

Values

primaryContainer → const ExpressiveFabColor

primaryContainer / onPrimaryContainer (Compose's default, FabPrimaryContainerTokens).

const ExpressiveFabColor(FabPrimaryContainerTokens.containerColor, FabPrimaryContainerTokens.iconColor)
secondaryContainer → const ExpressiveFabColor

secondaryContainer / onSecondaryContainer (FabSecondaryContainerTokens).

const ExpressiveFabColor(FabSecondaryContainerTokens.containerColor, FabSecondaryContainerTokens.iconColor)
tertiaryContainer → const ExpressiveFabColor

tertiaryContainer / onTertiaryContainer.

const ExpressiveFabColor(ExpressiveColorRole.tertiaryContainer, ExpressiveColorRole.onTertiaryContainer)
primary → const ExpressiveFabColor

Vibrant primary / onPrimary.

const ExpressiveFabColor(ExpressiveColorRole.primary, ExpressiveColorRole.onPrimary)
secondary → const ExpressiveFabColor

Vibrant secondary / onSecondary.

const ExpressiveFabColor(ExpressiveColorRole.secondary, ExpressiveColorRole.onSecondary)
tertiary → const ExpressiveFabColor

Vibrant tertiary / onTertiary.

const ExpressiveFabColor(ExpressiveColorRole.tertiary, ExpressiveColorRole.onTertiary)

Properties

container → ExpressiveColorRole
The container's colour role.
final
content → ExpressiveColorRole
The icon's and label's colour role (Compose's contentColorFor).
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
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<ExpressiveFabColor>
A constant List of the values in this enum, in order of their declaration.