UniformLinearSimulation class

Inheritance

Constructors

UniformLinearSimulation(Offset startOffset, Offset endOffset, Rect rect, {Tolerance tolerance = Tolerance.defaultTolerance, double duration = 7})

Properties

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

Methods

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
predictedTime({Offset? offset}) double
toString() String
A string representation of this object.
inherited

Operators

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