isRefreshing method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'SwipeRefreshLayout.isRefreshing', apiUrl: 'https://developer.android.com/reference/androidx/swiperefreshlayout/widget/SwipeRefreshLayout#isRefreshing()'), IOSPlatform(apiName: 'UIRefreshControl.isRefreshing', apiUrl: 'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624844-isrefreshing'), WindowsPlatform(apiName: 'Flutter pull-to-refresh indicator state')])
Future<bool> isRefreshing()

Returns whether a refresh operation has been triggered and is in progress.

Officially Supported Platforms/Implementations:

Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(
      apiName: 'SwipeRefreshLayout.isRefreshing',
      apiUrl:
          'https://developer.android.com/reference/androidx/swiperefreshlayout/widget/SwipeRefreshLayout#isRefreshing()',
    ),
    IOSPlatform(
      apiName: 'UIRefreshControl.isRefreshing',
      apiUrl:
          'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624844-isrefreshing',
    ),
    WindowsPlatform(apiName: 'Flutter pull-to-refresh indicator state'),
  ],
)
Future<bool> isRefreshing() {
  throw UnimplementedError(
    'isRefreshing is not implemented on the current platform',
  );
}