setStyledTitle method

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

Sets the styled title text to display in the refresh control.

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',
    ),
  ],
)
Future<void> setStyledTitle(AttributedString attributedTitle) {
  throw UnimplementedError(
    'setStyledTitle is not implemented on the current platform',
  );
}