GFStickyHeaderBuilder constructor

const GFStickyHeaderBuilder({
  1. Key? key,
  2. required StickyHeaderWidgetBuilder stickyContentBuilder,
  3. required Widget content,
  4. Axis direction = Axis.vertical,
  5. bool enableHeaderOverlap = false,
  6. RenderGFStickyHeaderCallback? callback,
  7. 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);