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' ;
@@ -66,12 +67,16 @@ class SetBookListsOrderScreen extends StatelessWidget {
6667 title: Text (
6768 _getBookStatusTranslation (bookListsOrder[index]),
6869 ),
70+ trailing: const Icon (Icons .drag_handle),
6971 ),
7072 ),
7173 ],
7274 onReorder: (int oldIndex, int newIndex) => context
7375 .read <BookListsOrderCubit >()
7476 .updateOrder (oldIndex, newIndex),
77+ onReorderStart: (_) {
78+ HapticFeedback .selectionClick ();
79+ },
7580 );
7681 }),
7782 ),
You can’t perform that action at this time.
0 commit comments