TouchBar class
A standard touch bar with no touch bar item.
- Inheritance
-
- Object
- AbstractTouchBar
- TouchBar
Constructors
-
TouchBar({required List<
AbstractTouchBarItem> children}) -
const
Properties
-
children
→ List<
AbstractTouchBarItem> -
Touch bar items to be displayed in the touch bar.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callMethod(
String name, dynamic arguments) → bool -
Searches the method named
name
in the all the TouchBar items and execute it.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Convert all the class data to a Map that will be used
in the platform channel communication
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited