BaseRefresh constructor
const
BaseRefresh({
- Key? key,
- double refreshTriggerPullDistance = _defaultRefreshTriggerPullDistance,
- double refreshIndicatorExtent = _defaultRefreshIndicatorExtent,
- RefreshControlIndicatorBuilder builder = CupertinoSliverRefreshControl.buildRefreshIndicator,
- RefreshCallback? onRefresh,
- Widget? child,
- EdgeInsetsGeometry? padding,
- double displacement = 40.0,
- Color? color,
- Color? backgroundColor,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
- String? semanticsLabel,
- String? semanticsValue,
- double strokeWidth = 2.0,
- RefreshIndicatorTriggerMode triggerMode = RefreshIndicatorTriggerMode.onEdge,
- double edgeOffset = 0.0,
- 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);