DataGridColumnDragDetails class

Holds the arguments of the SfDataGrid.onColumnDragging callback.

Annotations

Constructors

DataGridColumnDragDetails({required int from, required int? to, required DataGridColumnDragAction action, required Offset offset})
Creates the DataGridColumnDragDetails for the DataGridColumnDraggingCallback.
const

Properties

action DataGridColumnDragAction
The current action of the drag and drop operation.
final
from int
/ An index of a column that is being dragged.
final
hashCode int
The hash code for this object.
no setterinherited
offset Offset
The global position at which the pointer contacted the screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to int?
An index of a column where the already dragged column is being dropped.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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