Drag class abstract

Interface for objects that receive updates about drags.

This interface is used in various ways. For example, MultiDragGestureRecognizer uses it to update its clients when it recognizes a gesture. Similarly, the scrolling infrastructure in the widgets library uses it to notify the DragScrollActivity when the user drags the scrollable.

Implementers

Constructors

Drag()

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

cancel() → void
The input from the pointer is no longer directed towards this receiver.
end(DragEndDetails details) → void
The pointer is no longer in contact with the screen.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(DragUpdateDetails details) → void
The pointer has moved.

Operators

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