StickyRenderHeader constructor
StickyRenderHeader({
- required ScrollableState scrollable,
- StickyRenderHeaderCallback? callback,
- bool overlapHeaders = false,
- RenderBox? header,
- RenderBox? content,
Implementation
StickyRenderHeader({
required ScrollableState scrollable,
StickyRenderHeaderCallback? callback,
bool overlapHeaders = false,
RenderBox? header,
RenderBox? content,
}) : _scrollable = scrollable,
_callback = callback,
_overlapHeaders = overlapHeaders {
if (content != null) add(content);
if (header != null) add(header);
}