setTouchBar method
Sets the touchBar for the current window.
Specifying null clears the touch bar.
Implementation
@override
Future<void> setTouchBar(AbstractTouchBar touchBar) async {
_channel.invokeMethod('setTouchBar', touchBar.toMap());
_channel.setMethodCallHandler((call) async {
touchBar.callMethod(call.method, call.arguments);
});
return null;
}