TrayIconImageDelegate.fromStockIcon constructor

TrayIconImageDelegate.fromStockIcon(
  1. StockIcon stockIcon
)

A TrayIconImageDelegate that uses a Windows system icon.

Implementation

TrayIconImageDelegate.fromStockIcon(StockIcon stockIcon) {
  setIcon = (id, plugin) => plugin.setImageAsStockIcon(id, stockIcon.code);
}