setTitleBarColor static method
Sets the color of the main window title bar.
Blends with platform default overlay if transparent
is true
Implementation
static Future<void> setTitleBarColor(
Color color, [
bool transparent = true,
]) async {
await _channel.invokeMethod('setTitleBarColor', {
'r': color.red,
'g': color.green,
'b': color.blue,
'a': color.alpha,
't': transparent,
});
}