setStyledTitle method

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

Future<void> setStyledTitle(AttributedString attributedTitle) =>
    platform.setStyledTitle(attributedTitle);