Drag class

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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. [...]
update(DragUpdateDetails details) → void
The pointer has moved.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited