setSlingshotDistance method

Future<void> setSlingshotDistance(
  1. int slingshotDistance
)

Sets the distance that the refresh indicator can be pulled beyond its resting position during a swipe gesture.

Officially Supported Platforms/Implementations:

Implementation

Future<void> setSlingshotDistance(int slingshotDistance) =>
    platform.setSlingshotDistance(slingshotDistance);