Open robiness opened 1 year ago
Working with reorderable lists like reorderables or ReorderableListView there often is a callback like void onReorder(int oldIndex, int newIndex)
void onReorder(int oldIndex, int newIndex)
Would it make sense to you to add something like it's done here?
Especially the move and moveAt methods would be nice little helpers in that scenario.
move
moveAt
Really like the move methods! Let the PRs fly in :)
Working with reorderable lists like reorderables or ReorderableListView there often is a callback like
void onReorder(int oldIndex, int newIndex)
Would it make sense to you to add something like it's done here?
Especially the
move
andmoveAt
methods would be nice little helpers in that scenario.