Drag class Null safety

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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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 non-existent 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