getDefaultSlingshotDistance method

Future<int> getDefaultSlingshotDistance()

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

NOTE: Available only on Android.

Implementation

Future<int> getDefaultSlingshotDistance() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _channel?.invokeMethod('getDefaultSlingshotDistance', args);
}