StickyHeader constructor
StickyHeader({
- Key? key,
- required Widget header,
- required Widget content,
- bool overlapHeaders = false,
- StickyRenderHeaderCallback? callback,
Constructs a new StickyHeader widget.
Implementation
StickyHeader({
Key? key,
required this.header,
required this.content,
this.overlapHeaders = false,
this.callback,
}) : super(
key: key,
// Note: The order of the children must be preserved for the RenderObject.
children: [content, header],
);