RefreshTrigger constructor
const
RefreshTrigger({
- Key? key,
- double minExtent = 75.0,
- double? maxExtent = 150.0,
- FutureVoidCallback? onRefresh,
- Axis direction = Axis.vertical,
- bool reverse = false,
- RefreshIndicatorBuilder indicatorBuilder = defaultIndicatorBuilder,
- Curve curve = Curves.easeOutSine,
- Duration completeDuration = const Duration(milliseconds: 500),
- 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,
});