SliverReorderableTree<TKey, TData> constructor

const SliverReorderableTree<TKey, TData>({
  1. required TreeController<TKey, TData> controller,
  2. required TreeReorderController<TKey, TData> reorderController,
  3. required Widget nodeBuilder(
    1. BuildContext context,
    2. TKey nodeKey,
    3. int nodeDepth,
    4. ReorderableNodeWrapper wrap,
    ),
  4. int maxStickyDepth = 0,
  5. double indentPerDepth = 24.0,
  6. double draggedOpacity = 0.3,
  7. Color dropIndicatorColor = const Color(0xFF2196F3),
  8. double dropIndicatorThickness = 2.0,
  9. 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,
});