flutter_sortable_wrap 1.0.2 copy "flutter_sortable_wrap: ^1.0.2" to clipboard
flutter_sortable_wrap: ^1.0.2 copied to clipboard

outdated

A Reorder/Sort Wrap Widget. Written with pure dart, supported both iOS/Android/Web and Macos/Linux/Windows.

Build & Run example/lib/main.dart on iOS/Android/Chrome for more demonstrations
Simple to use
SortableWrap(
  children: children,
  onSorted: (int oldIndex, int newIndex) {
    setState(() {
      your_data_array.insert(newIndex, your_data_array.removeAt(oldIndex));
      print('----->>>>> your_data_array: $your_data_array');
    });
  },
  spacing: 10,
  runSpacing: 15,
)

Demonstrations

26
likes
0
points
250
downloads

Publisher

unverified uploader

Weekly Downloads

A Reorder/Sort Wrap Widget. Written with pure dart, supported both iOS/Android/Web and Macos/Linux/Windows.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_sortable_wrap