LiquidGlassShapeData class

Simplified shape data structure used to pass geometry information to the shader. Each LiquidGlass widget gets converted into this format for GPU processing. The border radius is automatically clamped to max(width/2, height/2) to ensure valid geometry.

Constructors

LiquidGlassShapeData(Offset center, Size size, double borderRadius, Color color)

Properties

borderRadius double
final
center Offset
final
color Color
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
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.
inherited