TouchBarLabel class

A touch bar item with a text with a single style.

Inheritance
Mixed in types

Constructors

TouchBarLabel(String label, {Color? textColor, String? accessibilityLabel})
Creates a new label item with the given identifier and label.

Properties

accessibilityLabel String?
getter/setter pairinherited
children List<TouchBarItem>?
The children property is forbbiden in this.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The unique sequential identifier of this.
finalinherited
label String?
getter/setter pairinherited
methods Map<String, Function>
Stores all the methods of this.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textColor Color?
getter/setter pairinherited
type String
Name of the touch bar item type that will be used to inform the specific platform implementation which TouchBarItem must be rendered/updated. This is important because the platform channel communication is performed through subset of the primitive types. See https://flutter.dev/docs/development/platform-integration/platform-channels#codec.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
updateProperty(String name, {dynamic newValue}) → void
Updates the property named name with a newValue.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited