LiquidGlassTheme class
- Inheritance
-
- Object
- ThemeExtension<
LiquidGlassTheme> - LiquidGlassTheme
Constructors
- LiquidGlassTheme.new({double blurAmount = 20.0, double noiseOpacity = 0.03, double highlightIntensity = 0.2, Color highlightColor = Colors.white, Color noiseColor = Colors.white, ButtonStyle? elevatedButtonStyle, ButtonStyle? outlinedButtonStyle})
-
const
- LiquidGlassTheme.fromConfig(LiquidGlassConfig config)
-
factory
Properties
- blurAmount → double
-
final
- elevatedButtonStyle → ButtonStyle?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- highlightColor → Color
-
final
- highlightIntensity → double
-
final
- noiseColor → Color
-
final
- noiseOpacity → double
-
final
- outlinedButtonStyle → ButtonStyle?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{double? blurAmount, double? noiseOpacity, double? highlightIntensity, Color? highlightColor, Color? noiseColor, ButtonStyle? elevatedButtonStyle, ButtonStyle? outlinedButtonStyle}) → ThemeExtension< LiquidGlassTheme> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< LiquidGlassTheme> ? other, double t) → ThemeExtension<LiquidGlassTheme> -
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toConfig(
) → LiquidGlassConfig -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited