ClampingSheetPhysics class
- Inheritance
-
- Object
- SheetPhysics
- ClampingSheetPhysics
- Mixed in types
Constructors
- ClampingSheetPhysics({SheetPhysics? parent, SpringDescription spring = kDefaultSheetSpring})
-
const
Properties
- dragStartDistanceMotionThreshold → double?
-
The minimum amount of pixel distance drags must move by to start motion
the first time or after each time the drag motion stopped.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- parent → SheetPhysics?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spring → SpringDescription
-
final
Methods
-
applyPhysicsToOffset(
double offset, SheetMetrics metrics) → double -
inherited
-
applyTo(
SheetPhysics ancestor) → SheetPhysics -
Create a copy of this object appending the
ancestor
to the physics chain, much like ScrollPhysics.applyTo.inherited -
computeOverflow(
double offset, SheetMetrics metrics) → double -
inherited
-
copyWith(
{SheetPhysics? parent, SpringDescription? spring}) → SheetPhysics -
Create a copy of this object with the given fields replaced
by the new values.
override
-
createBallisticSimulation(
double velocity, SheetMetrics metrics) → Simulation? -
inherited
-
createSettlingSimulation(
SheetMetrics metrics) → Simulation? -
inherited
-
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