PulseButtonVariant enum

Structural style of PulseButton — how much visual weight it carries.

Orthogonal to PulseButtonTone, which picks the accent. Every variant × tone pair is valid: ghost + danger is a low-emphasis destructive action, filled + danger a prominent one.

Mirrors the React DS Button variant tokens.

Inheritance
Available extensions

Values

filled → const PulseButtonVariant

Solid accent background with a matching glow shadow. Highest emphasis.

outline → const PulseButtonVariant

Transparent background with an accent-colored border + text.

ghost → const PulseButtonVariant

Transparent background with accent-colored text only. Hover/pressed shows an accent wash.

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<PulseButtonVariant>
A constant List of the values in this enum, in order of their declaration.