ReactiveRefreshIndicator constructor
const
ReactiveRefreshIndicator({
- Key? key,
- required Widget child,
- double displacement = 40.0,
- bool isRefreshEnabled = true,
- required bool isRefreshing,
- required RefreshCallback onRefresh,
- Color? color,
- Color? backgroundColor,
- ScrollNotificationPredicate notificationPredicate = defaultScrollNotificationPredicate,
Implementation
const ReactiveRefreshIndicator({
super.key,
required this.child,
this.displacement = 40.0,
this.isRefreshEnabled = true,
required this.isRefreshing,
required this.onRefresh,
this.color,
this.backgroundColor,
this.notificationPredicate = defaultScrollNotificationPredicate,
});