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) => platform.setEnabled(enabled);