setAttributedTitle method
- @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIRefreshControl.attributedTitle', apiUrl: 'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624845-attributedtitle')])
- @Deprecated("Use setStyledTitle instead")
- IOSNSAttributedString attributedTitle
Use setStyledTitle instead.
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',
),
],
)
@Deprecated("Use setStyledTitle instead")
Future<void> setAttributedTitle(IOSNSAttributedString attributedTitle) {
throw UnimplementedError(
'setAttributedTitle is not implemented on the current platform',
);
}