callRefresh method
void
callRefresh({})
Automatically trigger refresh.
overOffset
Offset beyond the trigger offset, must be greater than 0.
duration
See ScrollPosition.animateTo.
curve
See ScrollPosition.animateTo.
Implementation
void callRefresh({
double? overOffset,
Duration? duration = const Duration(milliseconds: 200),
Curve curve = Curves.linear,
}) {
_state?._callRefresh(
overOffset: overOffset,
duration: duration,
curve: curve,
);
}