DragAvatar<T> class

Inheritance

Constructors

DragAvatar({OverlayState? overlayState, T? data, Offset? initialPosition, Offset? dragStartPoint = Offset.zero, required Widget feedback, Offset? feedbackOffset = Offset.zero, required _OnDragEnd? onDragEnd, ValueChanged<Offset>? onMove})

Properties

data → T?
final
dragStartPoint Offset?
final
endClamp double
getter/setter pair
feedback Widget
final
feedbackOffset Offset?
final
hashCode int
The hash code for this object.
no setterinherited
onDragEnd → _OnDragEnd?
final
onMove ValueChanged<Offset>?
final
overlayState OverlayState?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startClamp double
getter/setter pair

Methods

cancel() → void
The input from the pointer is no longer directed towards this receiver.
override
end(DragEndDetails details) → void
The pointer is no longer in contact with the screen.
override
finishDrag(_DragEndKind endKind, [Velocity? velocity]) → void
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.
override
updateDrag(Offset globalPosition) → void
updateZero() → void

Operators

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