Skip to content

Commit 59f0f3a

Browse files
committed
feat(account): disable default drag handles in saved filters list
- Add comment to explain the purpose of disabling default drag handles - Set buildDefaultDragHandles to false in ReorderableListView.builder
1 parent 7cce4e2 commit 59f0f3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/account/view/saved_filters_page.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class SavedFiltersPage extends StatelessWidget {
4444
}
4545

4646
return ReorderableListView.builder(
47+
// Disable the default trailing drag handles to use only the
48+
// custom leading handle.
49+
buildDefaultDragHandles: false,
4750
itemCount: savedFilters.length,
4851
itemBuilder: (context, index) {
4952
final filter = savedFilters[index];

0 commit comments

Comments
 (0)