SliverTree<TKey, TData> constructor
const
SliverTree<TKey, TData> ({
- required TreeController<
TKey, TData> controller, - required Widget nodeBuilder(
- BuildContext context,
- TKey nodeKey,
- int nodeDepth
- int maxStickyDepth = 0,
- Key? key,
Creates a sliver tree.
Implementation
const SliverTree({
required this.controller,
required this.nodeBuilder,
this.maxStickyDepth = 0,
super.key,
});