LiquidGlassConfig class

Configuration for Liquid Glass effects.

Constructors

LiquidGlassConfig({CNGlassEffect effect = CNGlassEffect.regular, CNGlassEffectShape shape = CNGlassEffectShape.capsule, double? cornerRadius, Color? tint, bool interactive = false})
const

Properties

cornerRadius double?
Corner radius for rectangle shape (only used when shape is rect).
final
effect CNGlassEffect
The glass effect variant to apply.
final
hashCode int
The hash code for this object.
no setteroverride
interactive bool
Whether the glass effect should be interactive (responds to touch/pointer).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape CNGlassEffectShape
The shape for the glass effect.
final
tint Color?
Optional tint color for the glass effect.
final

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.
override