DestinationLocation class
Class representing the destination location of a drag and drop operation.
Similar to SourceLocation, it contains the parentIndex and the index of the item. It also contains an insertPosition which represents the position where the item should be inserted in the destination location.
Constructors
- DestinationLocation({required int? parentIndex, required int index, required InsertPosition insertPosition})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
The index of the drop location.
final
- insertPosition → InsertPosition
-
The position where the item is inserted relative to the drop location.
final
- parentIndex → int?
-
The index of the parent of the drop location.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited