sliver_tree/tree_reorder_config library
Declarative reorder configuration: one nullable object instead of a parameter per knob on every constructor.
Passing a non-null TreeReorderConfig IS enabling reorder, and by
default that is all the wiring a row needs:
TreeReorderConfig.buildDefaultDragHandles installs a long-press drag
over the whole row, the way ReorderableListView does. Set it false
to place TreeDragHandles yourself, anywhere in the row you like.
Classes
-
TreeReorderConfig<
TKey> - Everything a declarative tree needs to support drag-and-drop reorder.