SliverReorderableTree<TKey, TData> constructor
const
SliverReorderableTree<TKey, TData> ({
- required TreeController<
TKey, TData> controller, - required TreeReorderController<
TKey, TData> reorderController, - required Widget nodeBuilder(
- BuildContext context,
- TKey nodeKey,
- int nodeDepth,
- ReorderableNodeWrapper wrap,
- int maxStickyDepth = 0,
- double indentPerDepth = 24.0,
- double draggedOpacity = 0.3,
- Color dropIndicatorColor = const Color(0xFF2196F3),
- double dropIndicatorThickness = 2.0,
- Key? key,
Implementation
const SliverReorderableTree({
required this.controller,
required this.reorderController,
required this.nodeBuilder,
this.maxStickyDepth = 0,
this.indentPerDepth = 24.0,
this.draggedOpacity = 0.3,
this.dropIndicatorColor = const Color(0xFF2196F3),
this.dropIndicatorThickness = 2.0,
super.key,
});