reorder_tree_list 0.1.1 reorder_tree_list: ^0.1.1 copied to clipboard
A handy tree list with reorder feature. It accepts a tree struct and display according to the tree list struct. You can also customize the organization.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add reorder_tree_list
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
reorder_tree_list: ^0.1.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:reorder_tree_list/extension_reorder_list.dart';
import 'package:reorder_tree_list/tree_list_item.dart';