ReactiveRefreshIndicator constructor

const ReactiveRefreshIndicator({
  1. Key? key,
  2. required Widget child,
  3. double displacement = 40.0,
  4. bool isRefreshEnabled = true,
  5. required bool isRefreshing,
  6. required RefreshCallback onRefresh,
  7. Color? color,
  8. Color? backgroundColor,
  9. 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,
});