DropPosition class
Position for drop event.
Constructors
- DropPosition({required Offset local, required Offset global})
Properties
- global → Offset
-
Drop position in global coordinates (within the Flutter view).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → Offset
-
Drop position in local coordinates of DropRegion or DropMonitor widget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transformedToRenderObject(
RenderObject object) → DropPosition
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
forRenderObject(
Offset globalPosition, RenderObject object) → DropPosition