TrayIconImageDelegate.fromWinIcon constructor

TrayIconImageDelegate.fromWinIcon(
  1. WinIcon winIcon
)

A TrayIconImageDelegate that uses a Windows system icon.

Implementation

TrayIconImageDelegate.fromWinIcon(WinIcon winIcon) {
  setIcon = (id, plugin) => plugin.setImageAsWinIcon(id, winIcon.code);
}