RenderSliverRefresh constructor

RenderSliverRefresh({
  1. required double refreshIndicatorExtent,
  2. required bool hasLayoutExtent,
  3. RenderBox? child,
  4. double? paintOffsetY,
  5. RefreshStyle? refreshStyle,
})

Implementation

RenderSliverRefresh(
    {required double refreshIndicatorExtent,
    required bool hasLayoutExtent,
    RenderBox? child,
    this.paintOffsetY,
    this.refreshStyle})
    : assert(refreshIndicatorExtent >= 0.0),
      _refreshIndicatorExtent = refreshIndicatorExtent,
      _hasLayoutExtent = hasLayoutExtent {
  this.child = child;
}