TreeView<T extends Object> constructor
const
TreeView<T extends Object> ({
- Key? key,
- required TreeController<
T> treeController, - required TreeNodeBuilder<
T> nodeBuilder, - EdgeInsetsGeometry? padding,
- ScrollController? controller,
- bool? primary,
- ScrollPhysics? physics,
- bool shrinkWrap = false,
- double? cacheExtent,
- int? semanticChildCount,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- String? restorationId,
- 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,
});