RefreshTrigger constructor

const RefreshTrigger({
  1. Key? key,
  2. double minExtent = 75.0,
  3. double? maxExtent = 150.0,
  4. FutureVoidCallback? onRefresh,
  5. Axis direction = Axis.vertical,
  6. bool reverse = false,
  7. RefreshIndicatorBuilder indicatorBuilder = defaultIndicatorBuilder,
  8. Curve curve = Curves.easeOutSine,
  9. Duration completeDuration = const Duration(milliseconds: 500),
  10. required Widget child,
})

Implementation

const RefreshTrigger({
  super.key,
  this.minExtent = 75.0,
  this.maxExtent = 150.0,
  this.onRefresh,
  this.direction = Axis.vertical,
  this.reverse = false,
  this.indicatorBuilder = defaultIndicatorBuilder,
  this.curve = Curves.easeOutSine,
  this.completeDuration = const Duration(milliseconds: 500),
  required this.child,
});