TouchBarLabel constructor

TouchBarLabel(
  1. String label, {
  2. Color? textColor,
  3. String? accessibilityLabel,
})

Creates a new label item with the given identifier and label.

Implementation

TouchBarLabel(
  String label, {
  Color? textColor,
  String? accessibilityLabel,
}) {
  this._label = label;
  this._textColor = textColor;
  this._accessibilityLabel = accessibilityLabel;
}