Pullable.noBounce constructor
Pullable.noBounce({
- Key? key,
- required Widget child,
- RefreshController? controller,
- Future<
void> onRefresh()?, - Future<
void> onLoading()?, - PullableHeaderType headerType = PullableHeaderType.waterDrop,
No bounce constructor for reduced bouncing
Implementation
Pullable.noBounce({
super.key,
required this.child,
this.controller,
this.onRefresh,
this.onLoading,
PullableHeaderType headerType = PullableHeaderType.waterDrop,
}) : config = PullableConfig(
physics: ClampingScrollPhysics(),
headerType: headerType,
);