GlassThemeVariant class

Theme configuration for a specific brightness (light or dark).

Contains all styling information for glass widgets in a single theme mode.

Annotations

Constructors

GlassThemeVariant({LiquidGlassSettings? settings, GlassQuality? quality, GlassGlowColors? glowColors})
Creates a theme variant for light or dark mode.
const

Properties

glowColors GlassGlowColors?
Semantic color palette for glow effects.
final
hashCode int
The hash code for this object.
no setteroverride
quality GlassQuality?
Default rendering quality for all widgets.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings LiquidGlassSettings?
Default glass visual settings for all widgets.
final

Methods

copyWith({LiquidGlassSettings? settings, GlassQuality? quality, GlassGlowColors? glowColors}) GlassThemeVariant
Creates a copy with overridden values.
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.
override

Constants

dark → const GlassThemeVariant
Default dark theme variant.
light → const GlassThemeVariant
Default light theme variant.