setSlingshotDistance method
Sets the distance that the refresh indicator can be pulled beyond its resting position during a swipe gesture.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - SwipeRefreshLayout.setSlingshotDistance)
Implementation
Future<void> setSlingshotDistance(int slingshotDistance) {
throw UnimplementedError(
'setSlingshotDistance is not implemented on the current platform');
}