betrayal library

Classes

BetrayalLogConfig
Manager for logging in the betrayal package.
BetrayalPlugin
A singleton MethodChannel wrapper that communicates with the native plugin.
TrayIcon
A system tray icon.
TrayIconImageDelegate
A helper that sets the image of a TrayIcon.
TrayIconWidget
A widget that can be used to add a TrayIcon to the system tray.

Enums

StockIcon
A type of icon image that ships with Windows per default.
WinEvent
Represents constants in WinUser.h
WinIcon
A type of icon image that ships with Windows per default.

Extensions

EventCodes on WinEvent
This extension allows adding members to the WinEvent enum.
HexRepresentation on Id
Allows adding members to Id typedef.
IconCodes on WinIcon
This extension allows adding members to the WinIcon enum.
InteractionHandling on TrayIcon
Gives the TrayIcon the ability to react to WinEvents.
StockIconCodes on StockIcon
This extension allows adding members to the StockIcon enum.

Functions

fromCode(int code) WinEvent
Returns the WinEvent for the given code.

Typedefs

EventCallback = (void Function(Offset position)?)
A callback run upon interacting with a tray icon. It can use the mouse position to spawn menus (for example).
Id = int
An identifier.