LiquidSwipeData class

Constructors

LiquidSwipeData({required Offset localPosition, required double padding, required double diameter, required Size size})
The calculations for a Liquid Swipe path based on transition inputs and handle diameter and padding.

Properties

buttonCenter Offset
The LiquidSwipeHandle center
no setter
diameter double
The diameter of the LiquidSwipeHandle
final
hashCode int
The hash code for this object.
no setteroverride
liquidSwipePath Path
Generate the liquid swipe path
no setter
localPosition Offset
The position of the LiquidSwipeHandle center within the viewport.
final
padding double
The padding around the LiquidSwipeHandle
final
progress double
The swipe progress from 0.0 to 1.0
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
The size of the viewport we are painting to.
final
x double
The current x position
no setter
xMax double
The maximum width this liquid swipe can traverse
no setter

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 ==(covariant LiquidSwipeData other) bool
The equality operator.
override