setAttributedTitle method

  1. @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIRefreshControl.attributedTitle', apiUrl: 'https://developer.apple.com/documentation/uikit/uirefreshcontrol/1624845-attributedtitle')])
  2. @Deprecated("Use setStyledTitle instead")
Future<void> setAttributedTitle(
  1. IOSNSAttributedString attributedTitle
)

Use setStyledTitle instead.

Officially Supported Platforms/Implementations:

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',
  );
}