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