TreeView<T extends Object> constructor

const TreeView<T extends Object>({
  1. Key? key,
  2. required TreeController<T> treeController,
  3. required TreeNodeBuilder<T> nodeBuilder,
  4. EdgeInsetsGeometry? padding,
  5. ScrollController? controller,
  6. bool? primary,
  7. ScrollPhysics? physics,
  8. bool shrinkWrap = false,
  9. double? cacheExtent,
  10. int? semanticChildCount,
  11. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  12. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  13. String? restorationId,
  14. Clip clipBehavior = Clip.hardEdge,
})

Creates a TreeView.

Implementation

const TreeView({
  super.key,
  required this.treeController,
  required this.nodeBuilder,
  super.padding,
  super.controller,
  super.primary,
  super.physics,
  super.shrinkWrap,
  super.cacheExtent,
  super.semanticChildCount,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
  super.restorationId,
  super.clipBehavior,
});