setTitle method

Future<void> setTitle(
  1. String title
)

Changes the title of native window to title.

Implementation

Future<void> setTitle(String title) async {
  final Map<String, dynamic> arguments = {
    'title': title,
  };
  await _channel.invokeMethod('setTitle', arguments);
}