TouchBarPopover constructor
TouchBarPopover({
- String? label,
- TouchBarImage? icon,
- bool? showCloseButton,
- ImagePosition? iconPosition,
- List<
TouchBarItem> ? children,
Creates a new TouchBarPopover item with the giver label
, icon
,
iconPosition
and showCloseButton
Implementation
TouchBarPopover({
String? label,
TouchBarImage? icon,
bool? showCloseButton,
ImagePosition? iconPosition,
List<TouchBarItem>? children,
}) : this._labeledIcon = LabeledImage(
image: icon,
label: label,
imagePosition: iconPosition,
),
this._showCloseButton = showCloseButton,
super(children: children);