- Implementers
Constructors
-
SheetSnapGrid({required List<
SheetOffset> snaps, double minFlingSpeed}) -
constfactory
- SheetSnapGrid.single({required SheetOffset snap})
-
constfactory
- SheetSnapGrid.stepless({SheetOffset minOffset, SheetOffset maxOffset})
-
constfactory
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
-
getBoundaries(
ViewportLayout layout) → (SheetOffset, SheetOffset) - Returns the minimum and maximum offsets.
-
getSnapOffset(
ViewportLayout layout, double offset, double velocity) → SheetOffset -
Returns an position to which a sheet should eventually settle
based on the current
layout,offsetandvelocityof the sheet. -
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