StatusBarItem constructor
StatusBarItem({
- String? id,
- StatusBarAlignment? alignment,
- num? priority,
- String? name,
- String? text,
- dynamic tooltip,
- dynamic color,
- ThemeColor? backgroundColor,
- dynamic command,
- AccessibilityInformation? accessibilityInformation,
- void show()?,
- void hide()?,
- void dispose()?,
Implementation
factory StatusBarItem({
_i2.String? id,
_i3.StatusBarAlignment? alignment,
_i2.num? priority,
_i2.String? name,
_i2.String? text,
_i2.dynamic tooltip,
_i2.dynamic color,
_i3.ThemeColor? backgroundColor,
_i2.dynamic command,
_i3.AccessibilityInformation? accessibilityInformation,
void Function()? show,
void Function()? hide,
void Function()? dispose,
}) =>
StatusBarItem._(
id: id,
alignment: alignment?.name,
priority: priority ?? _i6.undefined,
name: name ?? _i6.undefined,
text: text,
tooltip: tooltip,
color: color,
backgroundColor: backgroundColor ?? _i6.undefined,
command: command,
accessibilityInformation: accessibilityInformation ?? _i6.undefined,
show: show == null ? null : _i5.allowInterop(show),
hide: hide == null ? null : _i5.allowInterop(hide),
dispose: dispose == null ? null : _i5.allowInterop(dispose),
);