File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 11import 'package:easy_localization/easy_localization.dart' ;
22import 'package:flutter/material.dart' ;
3+ import 'package:flutter/services.dart' ;
34import 'package:flutter_bloc/flutter_bloc.dart' ;
45import 'package:openreads/core/constants/enums/book_status.dart' ;
56import 'package:openreads/generated/locale_keys.g.dart' ;
@@ -65,12 +66,16 @@ class SetBookListsOrderScreen extends StatelessWidget {
6566 title: Text (
6667 _getBookStatusTranslation (bookListsOrder[index]),
6768 ),
69+ trailing: const Icon (Icons .drag_handle),
6870 ),
6971 ),
7072 ],
7173 onReorder: (int oldIndex, int newIndex) => context
7274 .read <BookListsOrderCubit >()
7375 .updateOrder (oldIndex, newIndex),
76+ onReorderStart: (_) {
77+ HapticFeedback .heavyImpact ();
78+ },
7479 );
7580 }),
7681 ),
You can’t perform that action at this time.
0 commit comments