ReorderableController class abstract

Implementers

Constructors

ReorderableController.new()

Properties

childrenKeyMap Map<String, ReorderableEntity>
final
childrenOrderMap Map<int, ReorderableEntity>
final
draggedEntity ReorderableEntity?
Instance of dragged entity when dragging starts.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
offsetMap Map<int, Offset>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getReorderableEntity({required ValueKey key, required int index}) ReorderableEntity
Creates or updates ReorderableEntity related to key and returns it.
handleCreatedChild({required Offset? offset, required Size size, required ReorderableEntity reorderableEntity}) ReorderableEntity
Updates specific values of reorderableEntity and update maps.
handleDeviceOrientationChanged() → void
Resets all entities in childrenOrderMap and childrenKeyMap.
handleMovingFinished({required ReorderableEntity reorderableEntity}) ReorderableEntity
Updates offset and order id of reorderableEntity faded in.
handleOpacityFinished({required ReorderableEntity reorderableEntity}) ReorderableEntity
Updates offset and order id of reorderableEntity faded in.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceMaps({required Map<String, ReorderableEntity> updatedChildrenKeyMap, required Map<int, ReorderableEntity> updatedChildrenOrderMap}) → void
toString() String
A string representation of this object.
inherited
updateToActualPositions() → void
Iterates through childrenKeyMap and updates ReorderableEntity.

Operators

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