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