setIndicatorSize method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'SwipeRefreshLayout.setSize', apiUrl: 'https://developer.android.com/reference/androidx/swiperefreshlayout/widget/SwipeRefreshLayout#setSize(int)')])
- PullToRefreshSize size
Sets the size of the refresh indicator. One of PullToRefreshSize.DEFAULT, or PullToRefreshSize.LARGE.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - SwipeRefreshLayout.setSize)
Parameters - Officially Supported Platforms/Implementations:
size: all platforms
Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
AndroidPlatform(
apiName: 'SwipeRefreshLayout.setSize',
apiUrl:
'https://developer.android.com/reference/androidx/swiperefreshlayout/widget/SwipeRefreshLayout#setSize(int)',
),
],
)
Future<void> setIndicatorSize(PullToRefreshSize size) {
throw UnimplementedError(
'setIndicatorSize is not implemented on the current platform',
);
}