setColor method
Sets the color of the refresh control.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - SwipeRefreshLayout.setColorSchemeColors)
- iOS (Official API - UIRefreshControl.tintColor)
Implementation
Future<void> setColor(Color color) => platform.setColor(color);