AbstractTouchBar class abstract
The base type for a touch bar.
- Implementers
Constructors
-
AbstractTouchBar(List<
AbstractTouchBarItem> children) -
Creates a new TouchBar.
children are the items of the menu.
If children is empty, a blank touch bar will be rendered
const
Properties
-
children
→ List<
AbstractTouchBarItem> -
Touch bar items to be displayed in the touch bar.
final
- 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. -
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited