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

A Reorder-able/Sortable/Rearrange-able Wrap Widget. Written with pure dart, support both iOS/Android/Web and Macos/Linux/Windows.

pub package

Build & Run example/lib/main.dart on iOS/Android/Chrome/MacOS for more demonstrations

cd example/; flutter clean; flutter run -d macOS

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 #

Features and Issues

Please feel free to request new features and bugs at the issue tracker

18
likes
130
pub points
73%
popularity

Publisher

unverified uploader

A Reorder-able/Sortable/Rearrange-able Wrap Widget. Written with pure dart, support both iOS/Android/Web and Macos/Linux/Windows.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_sortable_wrap