setAttributedTitle method

Future<void> setAttributedTitle(
  1. IOSNSAttributedString attributedTitle
)

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

NOTE: Available only on iOS.

Implementation

Future<void> setAttributedTitle(IOSNSAttributedString attributedTitle) async {
  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('attributedTitle', () => attributedTitle.toMap());
  await _channel?.invokeMethod('setAttributedTitle', args);
}