I´m using a SliverList with SliverChildBuilderDelegate to generate the list items on the fly. Now I´m trying to allow the user to reorder the list items via drag and drop over a handle-icon on each item in a row.
I´ve tried different things (like Draggable Widget) but I haven´t found a solution so far. Has anyone already used drag & drop reordering with a SliverList Widget and can give me a hint?
Using ReorderableListView Widget is not possible, cause mixing a ListView to a SliverList. And I want to use the SliverAppBar to allow a fade-out-on-scroll effect as you can see here: https://medium.com/flutter-io/slivers-demystified-6ff68ab0296f
Here´s the structure of my SliverList:
return Scaffold(
body: RefreshIndicator(
...
child: CustomScrollView(
...
slivers: <Widget>[
SliverAppBar(...),
SliverList(
delegate: SliverChildBuilderDelegate(...),
)
...
Thanks in advance & best, Michael