Skip to content

Commit

Permalink
Add ReorderableListView.builder for drag and drop functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Erengun committed Mar 20, 2024
1 parent 883908e commit 2d6f1bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ui/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ class HomeState extends ConsumerState<Home> {
textAlign: TextAlign.center,
),
],
/// ReorderableListView.builder is used to reorder the list of todos
/// using drag and drop.
ReorderableListView.builder(
header: null,
shrinkWrap: true,
Expand Down

0 comments on commit 2d6f1bd

Please sign in to comment.