Pullable.noBounce constructor

Pullable.noBounce({
  1. Key? key,
  2. required Widget child,
  3. RefreshController? controller,
  4. Future<void> onRefresh()?,
  5. Future<void> onLoading()?,
  6. 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,
     );