RenderSliverTree<TKey, TData> constructor

RenderSliverTree<TKey, TData>({
  1. required TreeController<TKey, TData> controller,
  2. int maxStickyDepth = 0,
})

Creates a render sliver tree.

Implementation

RenderSliverTree({
  required TreeController<TKey, TData> controller,
  int maxStickyDepth = 0,
}) : _controller = controller,
     _maxStickyDepth = maxStickyDepth,
     _sticky = StickyHeaderComputer<TKey, TData>(
       controller: controller,
       maxStickyDepth: maxStickyDepth,
     ),
     _admission = LayoutAdmissionPolicy<TKey, TData>(controller: controller);