RefreshView constructor
const
RefreshView({
- Key? key,
- required Widget child,
- VoidCallback? onRefresh,
- Color? backgroundColor,
- Color? color,
- double displacement = 40.0,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
- String? semanticsLabel,
- String? semanticsValue,
- double strokeWidth = RefreshProgressIndicator.defaultStrokeWidth,
- double edgeOffset = 0.0,
- RefreshIndicatorTriggerMode triggerMode = RefreshIndicatorTriggerMode.onEdge,
Implementation
const RefreshView({
super.key,
required this.child,
this.onRefresh,
this.backgroundColor,
this.color,
this.displacement = 40.0,
this.notificationPredicate = defaultScrollNotificationPredicate,
this.semanticsLabel,
this.semanticsValue,
this.strokeWidth = RefreshProgressIndicator.defaultStrokeWidth,
this.edgeOffset = 0.0,
this.triggerMode = RefreshIndicatorTriggerMode.onEdge,
});