setStyledTitle method
- @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIRefreshControl.attributedTitle', apiUrl: 'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624845-attributedtitle')])
- AttributedString attributedTitle
Sets the styled title text to display in the refresh control.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIRefreshControl.attributedTitle)
Parameters - Officially Supported Platforms/Implementations:
attributedTitle: all platforms
Use the PlatformPullToRefreshController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(
apiName: 'UIRefreshControl.attributedTitle',
apiUrl:
'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624845-attributedtitle',
),
],
)
Future<void> setStyledTitle(AttributedString attributedTitle) {
throw UnimplementedError(
'setStyledTitle is not implemented on the current platform',
);
}