addToContext property
If true
, the TrayIcon resource this widget manages
will be accessible via TrayIcon.of(context)
.
If false
, this widget doesn't have to update
all properties of the TrayIcon resource, whenever
it is changed as it can know what properties have changed.
Implementation
final bool addToContext;