dartx icon indicating copy to clipboard operation
dartx copied to clipboard

`move` methods on `List`

Open robiness opened this issue 3 years ago • 1 comments

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 and moveAt methods would be nice little helpers in that scenario.

robiness avatar Oct 05 '22 18:10 robiness

Really like the move methods! Let the PRs fly in :)

passsy avatar Oct 05 '22 19:10 passsy