pub type ReorderCallback = Rc<dyn Fn(&mut App, i32, i32)>;Expand description
A callback used by ReorderableList to report that a list item has moved to a new
position in the list.
Implementations should remove the corresponding list item at old_index and reinsert it
at new_index.
See also:
ReorderableList, a widget list that allows the user to reorder its items.SliverReorderableList, a sliver list that allows the user to reorder its items.ReorderableListView, a Material Design list that allows the user to reorder its items.
Aliased Typeยง
pub struct ReorderCallback { /* private fields */ }