RenderGFStickyHeader constructor

RenderGFStickyHeader({
  1. List<RenderBox>? children,
  2. Axis direction = Axis.horizontal,
  3. bool enableHeaderOverlap = false,
  4. required ScrollableState scrollable,
  5. RenderGFStickyHeaderCallback? callback,
  6. GFPosition? stickyContentPosition,
})

Implementation

RenderGFStickyHeader({
  List<RenderBox>? children,
  Axis direction = Axis.horizontal,
  bool enableHeaderOverlap = false,
  required ScrollableState scrollable,
  RenderGFStickyHeaderCallback? callback,
  GFPosition? stickyContentPosition,
})  : _scrollable = scrollable,
      _direction = direction,
      _callback = callback,
      _stickyContentPosition = stickyContentPosition,
      _enableHeaderOverlap = enableHeaderOverlap {
  addAll(children);
}