setEnabled method
Sets whether the pull-to-refresh feature is enabled or not.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - SwipeRefreshLayout.setEnabled)
- iOS (Official API - UIScrollView.refreshControl)
Implementation
Future<void> setEnabled(bool enabled) {
throw UnimplementedError(
'setEnabled is not implemented on the current platform');
}