LiquidGlassPosition class
A position for the LiquidLens, which can be an absolute Offset or a relative Alignment.
Constructors
- LiquidGlassPosition.alignment(Alignment alignment)
-
const
- LiquidGlassPosition.offset(Offset offset)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
Size containerSize, Size lensSize) → Offset - Resolves the position to an absolute Offset based on the container size.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- center → const LiquidGlassPosition
- Shorthand for Alignment.center.