betrayal 1.2.2
betrayal: ^1.2.2 copied to clipboard
Integrate your app into the system tray and add custom icons and react to user input. Use widget wrappers to treat the notification area as part of your UI.
Changelog #
1.2.2 (2022-04-18) #
Miscellaneous #
Documentation #
- pubspec: add example readme as link to external documentation (1f740bc)
- readme: improve readability a bit (ce33aff)
1.2.1 (2022-04-18) #
Bug Fixes #
- improve code quality for custom ids feature (35583f7)
- native: let Windows handle all unhandled user type messages (22625a4)
Documentation #
- example: make
add_many
example more understandable (5cadfb8)
1.2.0 (2022-04-18) #
Features #
- allow setting a custom value for icon id (829c287)
Bug Fixes #
1.1.0 (2022-04-17) #
⚠ BREAKING CHANGES #
BetrayalPlugin()
andBetrayalLogConfig()
have been replaced with.instance
respectively.
Bug Fixes #
- remove unused import (bb52101)
Documentation #
- example:
add_many
visualize all icons as a grid (315aa0f) - example: refactor add_many example. (cca1c42)
- readme: add short section about hot restart (0e52401)
Miscellaneous #
- branding: improve font kerning in art assets (18fbd94)
- make singletons explicit (772730e)
- mark
.instance
s as protected (7d9dafd)
1.0.0 (2022-04-15) #
Documentation #
- readme: add demo video (4d95454)
- readme: use assets to make readme a bit prettier (1a5094f)
- upload assets (82a5946)
1.0.0-dev.7 (2022-04-14) #
⚠ BREAKING CHANGES #
- The internal API for _TrayIconInteraction changed by introducing the new [rawEvent].
Features #
- retrieve the correct icon dimensions (e8fed3b)
Bug Fixes #
- ensure that setting onTap on a not-yet-realized icon is safe (5d2a1d6)
- make getter for large image size return "" (f01d655)
Miscellaneous #
- update some lock file (393759d)
Documentation #
- example: finish renaming into
select_image
(95db76e) - example: improve downscaling quality (0c08f84)
- example: rename
edit_icon
intoselect_image
(5e377ea)
1.0.0-dev.6 (2022-04-12) #
Features #
- introduce support for interactions (f927a35)
Documentation #
- fix broken image links (1a7104c)
- improve generation setting (02efff9)
- readme: +1 for fanciness (0242703)
1.0.0-dev.5 (2022-04-10) #
Bug Fixes #
- remove emoji from
pubspec.yaml
(a24b827)
Documentation #
- readme: implement further advances in fanciness (5e1f055)
1.0.0-dev.4 (2022-04-10) #
Features #
- support windows stock icons (9e0da85)
Bug Fixes #
- forgot to check in some method into sc (aadab96)
Miscellaneous #
Documentation #
- readme: add some light fanciness (a38db9b)
- readme: increase fanciness even further by doubling the amount of badges (1362669)
- readme: make badges clickable (1bfcd8e)
- readme: replace score badge (b965602)
1.0.0-dev.3 (2022-04-10) #
Documentation #
- readme: change relative links to link to gh (57780fd)
1.0.0-dev.2 (2022-04-10) #
Bug Fixes #
Miscellaneous Chores #
- prepare new preview release (b2b6c54)
1.0.0-dev.1 (2022-04-10) #
⚠ BREAKING CHANGES #
- plugin: remove
TrayIconData
- api: make
TrayIconImageDelegate
named parameter name insetIcon
less verbose - plugin:
image
,picture
andfreeRessources
have been removed. Users have to pass aByteBuffer
now instead. - plugin: disable image cleanup per default
- example: turn
builder
from a positional parameter into an optional named parameter - example: the
ElementSelector
related widgets need to be imported now. - example: The
Element Selector
widget api changed a bit. - basically everything 🤏
Features #
- add logging (89360e9)
- api: make
TrayIconImageDelegate
public (64d945f) - example: add labels to
Selector
view (e5b8a24) - example: allow subclassing
ElementSelectorData
to add additional fields (b816880) - example: change tray icon when selection changes (8b0fdae)
- example: hide icon when every
Selectable
has been removed (6eaaf73) - example: make tooltip / label text changeable (786cf5a)
- example: move example specific logic out of
ElementSelector
. (16875ea) - example: set loaded image as icon image (20f3fcd)
- introduce widgets api (74c1d31)
- make logging customizable (439909a)
Bug Fixes #
- example: animate label out after removing icon (07dcdc6)
- example: don't hide icon after every removal (5410e5d)
- example: keep the last element selected, when the current view is the plus icon (d5d03d8)
- example: make
Selectable
widget immutable (5faecae) - example: select the correct element after removing the selection (9d12e73)
- example: show tray icon immediately. The user does not have to change their selection first (7ad2993)
- example: update configuration / dependencies (471c171)
- plugin: call
update
on icon after changing tooltip (ed3b9fe) - plugin: clear icons on hot restart (bc9484d)
- plugin: disable image cleanup per default (b0f4447)
- windows: call
icon->update
whenever any property is being changed (50ee78e)
Code Refactoring #
- plugin: remove
TrayIconData
(743a2b5)
Miscellaneous Chores #
- api: make
TrayIconImageDelegate
named parameter name insetIcon
less verbose (6195752) - example: move the
ElementSelector
related classes into seperate files (ca93fa8) - example: turn
builder
from a positional parameter into an optional named parameter (3f51b06) - make an initial commit (2628331)
- plugin: delegate setting the icon image to new
TrayIconImageDelegate
(dd7690e) - prepare publishing a preview version (420db07)