HorizontalScrollSimulation class

Inheritance

Constructors

HorizontalScrollSimulation({required Size size, required double right, required double left, double y = 0, Tolerance tolerance = Tolerance.defaultTolerance, double duration = 7})

Properties

duration double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isFullShown bool
getter/setter pairinherited
left double
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
stageRect Rect
getter/setter pairinherited
time double
单位:秒
getter/setter pairinherited
tolerance Tolerance
finalinherited
v double
final
y double
getter/setter pair

Methods

copyWith({Size? size, double? right, double? left, double? y, Tolerance? tolerance, double? duration}) HorizontalScrollSimulation
dOffset(double time) Offset
override
isDone(Offset o, double dt) Offset?
通常返回null为结束
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(double time) Offset
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited