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({GlassThemeSettings? settings, GlassQuality? quality, GlassGlowColors? glowColors, double? borderRadius})
Creates a theme variant for light or dark mode.
const

Properties

borderRadius double?
Default corner radius for all glass widgets in this variant.
final
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 GlassThemeSettings?
Partial glass visual settings applied on top of each widget's own defaults.
final

Methods

copyWith({GlassThemeSettings? settings, GlassQuality? quality, GlassGlowColors? glowColors, double? borderRadius}) 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.
minimal → const GlassThemeVariant
Shader-free theme variant for maximum compatibility.