GFStickyHeaderBuilder constructor
const
GFStickyHeaderBuilder({
- Key? key,
- required StickyHeaderWidgetBuilder stickyContentBuilder,
- required Widget content,
- Axis direction = Axis.vertical,
- bool enableHeaderOverlap = false,
- RenderGFStickyHeaderCallback? callback,
- GFPosition stickyContentPosition = GFPosition.start,
Place this widget inside a ListView, GridView, CustomScrollView, SingleChildScrollView or similar. Constructs a new GFStickyHeaderBuilder widget.
Implementation
const GFStickyHeaderBuilder({
Key? key,
required this.stickyContentBuilder,
required this.content,
this.direction = Axis.vertical,
this.enableHeaderOverlap = false,
this.callback,
this.stickyContentPosition = GFPosition.start,
}) : super(key: key);