LGButtonStyle enum

Visual style for liquid glass buttons.

Determines whether the button displays with a liquid glass background or appears transparent (ideal for grouped button scenarios).

Inheritance
Available extensions

Values

filled → const LGButtonStyle

Button displays with a liquid glass background.

This is the default style. The button will showcase a visible liquid glass effect with blur and transparency properties.

transparent → const LGButtonStyle

Button appears transparent with only interaction effects visible.

Use this style when grouping buttons together (e.g., in a LGButtonGroup) to prevent double-drawing liquid glass backgrounds. The button will still have glow and stretch effects, but no liquid glass shape.

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