RenderSliverTree<TKey, TData> constructor
RenderSliverTree<TKey, TData> ({
- required TreeController<
TKey, TData> controller, - 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);