TaskDragData class
Data class that holds information about a task being dragged.
This class encapsulates all the necessary information needed during drag-and-drop operations of tasks between columns in the Kanban board.
Constructors
- TaskDragData({required Task task, required KanbanColumn sourceColumn, required int sourceIndex})
- Creates a TaskDragData instance with the required drag information.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceColumn → KanbanColumn
-
The column from which the task is being dragged.
final
- sourceIndex → int
-
The index position of the task in its source column.
final
- task → Task
-
The task being dragged.
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