setTitleBarStyle method
Future<void>
setTitleBarStyle(
- TitleBarStyle titleBarStyle, {
- bool windowButtonVisibility = true,
Changes the title bar style of native window.
Implementation
Future<void> setTitleBarStyle(
TitleBarStyle titleBarStyle, {
bool windowButtonVisibility = true,
}) async {
final Map<String, dynamic> arguments = {
'titleBarStyle': titleBarStyle.name,
'windowButtonVisibility': windowButtonVisibility,
};
await _invokeMethod('setTitleBarStyle', arguments);
}