BaseRefresh constructor

const BaseRefresh({
  1. Key? key,
  2. double refreshTriggerPullDistance = _defaultRefreshTriggerPullDistance,
  3. double refreshIndicatorExtent = _defaultRefreshIndicatorExtent,
  4. RefreshControlIndicatorBuilder builder = CupertinoSliverRefreshControl.buildRefreshIndicator,
  5. RefreshCallback? onRefresh,
  6. Widget? child,
  7. EdgeInsetsGeometry? padding,
  8. double displacement = 40.0,
  9. Color? color,
  10. Color? backgroundColor,
  11. ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
  12. String? semanticsLabel,
  13. String? semanticsValue,
  14. double strokeWidth = 2.0,
  15. RefreshIndicatorTriggerMode triggerMode = RefreshIndicatorTriggerMode.onEdge,
  16. double edgeOffset = 0.0,
  17. BaseParam? baseParam,
})

Implementation

const BaseRefresh({
  Key? key,
  this.refreshTriggerPullDistance = _defaultRefreshTriggerPullDistance,
  this.refreshIndicatorExtent = _defaultRefreshIndicatorExtent,
  this.builder = CupertinoSliverRefreshControl.buildRefreshIndicator,
  this.onRefresh,
  this.child,
  this.padding,
  this.displacement = 40.0,
  this.color,
  this.backgroundColor,
  this.notificationPredicate = defaultScrollNotificationPredicate,
  this.semanticsLabel,
  this.semanticsValue,
  this.strokeWidth = 2.0,
  this.triggerMode = RefreshIndicatorTriggerMode.onEdge,
  this.edgeOffset = 0.0,
  BaseParam? baseParam,
}) : super(key: key, baseParam: baseParam);