ExtendedVelocityTracker class

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
kind PointerDeviceKind
The kind of pointer this tracker is for.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addPosition(Duration time, Offset position) → void
Adds a position as the given time to the tracker.
inherited
getSamplesDelta() Offset
getVelocity() Velocity
Computes the velocity of the pointer at the time of the last provided data point.
inherited
getVelocityEstimate() VelocityEstimate?
Returns an estimate of the velocity of the object being tracked by the tracker given the current information available to the tracker.
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