setSubtitle static method

Future<void> setSubtitle(
  1. String subtitle
)

Sets the subtitle of the window.

To remove the subtitle, pass an empty string to this method.

Implementation

static Future<void> setSubtitle(String subtitle) async {
  await _completer.future;
  await _windowManipulatorMethodChannel.invokeMethod('setSubtitle', {
    'subtitle': subtitle,
  });
}