fix: reorder attribute
This commit is contained in:
@@ -348,7 +348,8 @@ class _MatchResultViewState extends State<MatchResultView> {
|
|||||||
onReorderEnd: (int n) async {
|
onReorderEnd: (int n) async {
|
||||||
await HapticFeedback.selectionClick();
|
await HapticFeedback.selectionClick();
|
||||||
},
|
},
|
||||||
onReorder: (int oldIndex, int newIndex) {
|
onReorderItem:
|
||||||
|
(int oldIndex, int newIndex) {
|
||||||
setState(() {
|
setState(() {
|
||||||
if (newIndex > oldIndex) {
|
if (newIndex > oldIndex) {
|
||||||
newIndex -= 1;
|
newIndex -= 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user