MethodChannelTouchBar class
An implementation of TouchBarPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TouchBarPlatform
- MethodChannelTouchBar
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setTouchBar(
AbstractTouchBar touchBar) → Future< void> -
Sets the touchBar for the current window.
Specifying
null
clears the touch bar.override -
setTouchBarItem(
{int? id, String? type, Map< String, dynamic> ? dataChanges}) → Future<void> -
Change the data of the TouchBarItem of the given
id
andtype
with the new data provided bydataChanges
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited