DragUpdateDetails class
Details object for callbacks that use GestureDragUpdateCallback.
See also:
- DragGestureRecognizer.onUpdate, which uses GestureDragUpdateCallback.
- DragDownDetails, the details for GestureDragDownCallback.
- DragStartDetails, the details for GestureDragStartCallback.
- DragEndDetails, the details for GestureDragEndCallback.
Constructors
- DragUpdateDetails({Duration sourceTimeStamp, Offset delta: Offset.zero, double primaryDelta, @required Offset globalPosition })
- Creates details for a DragUpdateDetails. [...]
Properties
- delta → Offset
- 
          The amount the pointer has moved since the previous update. [...]
          final
- globalPosition → Offset
- 
          The pointer's global position when it triggered this update.
          final
- primaryDelta → double
- 
          The amount the pointer has moved along the primary axis since the previous
update. [...]
          final
- sourceTimeStamp → Duration
- 
          Recorded timestamp of the source pointer event that triggered the drag
event. [...]
          final
- 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
- 
          toString() → String 
- 
          Returns a string representation of this object.
          override
- 
          noSuchMethod(Invocation invocation) → dynamic 
- 
          Invoked when a non-existent method or property is accessed. [...]
          inherited
Operators
- 
          operator ==(dynamic other) → bool 
- 
          The equality operator. [...]
          inherited