TrayManager class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
TrayListener listener) → void - Register a closure to be called when the tray events.
-
destroy(
) → Future< void> -
getBounds(
) → Future< Rect?> - The bounds of this tray icon.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
popUpContextMenu(
) → Future< void> - Pops up the context menu of the tray icon.
-
removeListener(
TrayListener listener) → void - Remove a previously registered closure from the list of closures that are notified when the tray events.
-
setContextMenu(
→ Future< )void> - Sets the context menu for this icon.
-
setIcon(
String iconPath, {bool isTemplate = false, TrayIconPositon iconPosition = TrayIconPositon.left}) → Future< void> - Sets the image associated with this tray icon.
-
setIconPosition(
TrayIconPositon trayIconPositon) → Future< void> - Sets the icon position of the tray icon.
-
setTitle(
String title) → Future< void> - Sets the title for this tray icon.
-
setToolTip(
String toolTip) → Future< void> - Sets the hover text for this tray icon.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → TrayManager
-
The shared instance of TrayManager.
final