callLoad method
Future
callLoad({
- double? overOffset,
- Duration? duration = const Duration(milliseconds: 300),
- Curve curve = Curves.linear,
- ScrollController? scrollController,
- bool force = false,
Automatically trigger load.
overOffset
Offset beyond the trigger offset, must be greater than 0.
duration
See ScrollPosition.animateTo.
curve
See ScrollPosition.animateTo.
scrollController
When position is not ScrollPosition, you can use ScrollController.
force
Enforce execution even if the task is in progress. But you have to handle the completion event.
Implementation
Future callLoad({
double? overOffset,
Duration? duration = const Duration(milliseconds: 300),
Curve curve = Curves.linear,
ScrollController? scrollController,
bool force = false,
}) async {
await _state?._callLoad(
overOffset: overOffset,
duration: duration,
curve: curve,
scrollController: scrollController,
force: force,
);
}