SliverTree<TKey, TData> constructor

const SliverTree<TKey, TData>({
  1. required TreeController<TKey, TData> controller,
  2. required Widget nodeBuilder(
    1. BuildContext context,
    2. TKey nodeKey,
    3. int nodeDepth
    ),
  3. int maxStickyDepth = 0,
  4. Key? key,
})

Creates a sliver tree.

Implementation

const SliverTree({
  required this.controller,
  required this.nodeBuilder,
  this.maxStickyDepth = 0,
  super.key,
});