setSize method
- @SupportedPlatforms.new(platforms: [AndroidPlatform(apiName: 'SwipeRefreshLayout.setSize', apiUrl: 'https://developer.android.com/reference/androidx/swiperefreshlayout/widget/SwipeRefreshLayout#setSize(int)')])
- @Deprecated("Use setIndicatorSize instead")
Use setIndicatorSize instead.
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)',
),
],
)
@Deprecated("Use setIndicatorSize instead")
Future<void> setSize(AndroidPullToRefreshSize size) {
throw UnimplementedError(
'setSize is not implemented on the current platform',
);
}