LiquidGlassSettings class

Configuration class that holds all visual parameters for the liquid glass shader effect. These parameters control various aspects like refraction, blur, lighting, and color.

Constructors

LiquidGlassSettings({double blendPx = 5, double refractStrength = -0.06, double distortFalloffPx = 45, double distortExponent = 4, double blurRadiusPx = 0, double specAngle = 4, double specStrength = 20.0, double specPower = 100, double specWidth = 10, double lightbandOffsetPx = 10, double lightbandWidthPx = 30, double lightbandStrength = 0.9, Color lightbandColor = Colors.white})
const

Properties

blendPx double
Shader uniform parameters - these control the visual appearance of the glass effect
final
blurRadiusPx double
final
distortExponent double
final
distortFalloffPx double
final
hashCode int
The hash code for this object.
no setterinherited
lightbandColor Color
final
lightbandOffsetPx double
final
lightbandStrength double
final
lightbandWidthPx double
final
refractStrength double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
specAngle double
final
specPower double
final
specStrength double
final
specWidth double
final

Methods

copyWith({double? blendPx, double? refractStrength, double? distortFalloffPx, double? distortExponent, double? blurRadiusPx, double? specAngle, double? specStrength, double? specPower, double? specWidth, double? lightbandOffsetPx, double? lightbandWidthPx, double? lightbandStrength, Color? lightbandColor}) LiquidGlassSettings
Creates a copy of this settings object with the given fields replaced with new 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.
inherited