betrayal 1.3.7 copy "betrayal: ^1.3.7" to clipboard
betrayal: ^1.3.7 copied to clipboard

PlatformWindows

A plugin to setup custom system tray icons through composable widgets.

Changelog #

1.3.7 (2023-02-24) #

Bug Fixes #

  • broken ID generation lead to first icon always being 0x0000 (1ba0991), closes #30
  • remove mouseFirst from win_event (55431e9)
  • respond to clear_all() from plugin (00aa236), closes #31

1.3.6 (2023-02-24) #

Bug Fixes #

  • ci: re-add refresh token (e904fcf)

Documentation #

  • just add some alibi stuff to trigger release-please again (be5c4ce)

1.3.5 (2023-02-24) #

Bug Fixes #

  • ci: run on version.txt change (030c430)

Documentation #

  • example: add bouncing scroll physics (4b59f32)

1.3.4 (2023-02-23) #

Meta #

  • publish: use on create? (fe0194d)

Miscellaneous #

  • readme: fix broken pub score badge (0915bce)

1.3.3 (2023-02-23) #

Miscellaneous #

1.3.2 (2023-02-23) #

Bug Fixes #

  • ensure _makingReal guard is always unlocked (7aceb56)
  • replace homegrown mutex with the synchronized package (6ec3702)

Miscellaneous #

  • rename _makeRealIfNeeded into _ensureIsReal (a0bf306)

1.3.1 (2023-02-23) #

Bug Fixes #

  • ci: specify version of publish workflow (6968e3c)
  • prevent (unproblematic) race condition when realizing (c6aed27)

Documentation #

  • remove example lockfiles (2eb4e06)

Miscellaneous #

  • include id in error message (a8743d5)

1.3.0 (2023-02-23) #

⚠ BREAKING CHANGES #

  • bumps minimum Flutter version to 3.7 and Dart to 2.19

Miscellaneous #

1.2.5 (2022-07-27) #

Documentation #

  • readme: improve rendering on pub.dev (167edb4)

Miscellaneous #

  • deps: bump flutter_lints from 1.0.4 to 2.0.1 (#28) (5b36e87)

1.2.4 (2022-05-16) #

Documentation #

  • demonstrate integration with leanflutter/contextual_menu (9704cf6), closes #4
  • example: fix crash when trying to downscale image on isolate (dacf5ae)
  • example: make context menu usable through leanflutter/window_manager (37d0789)
  • example: remove unused dependency (c1ad065)

1.2.3 (2022-04-20) #

Documentation #

  • fix typo in generic description for enum extensions (47c01c0)

Miscellaneous #

  • pubspec: slightly reduce cringiness of description (78e47f6), closes #24
  • update deps, format file (03ca002)

1.2.2 (2022-04-18) #

Miscellaneous #

  • pubspec: fix typo (1210cdc)
  • pubspec: improve metadata for pub.dev (6e9309d)

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 #

  • don't return default values for preferredImageSize (b2540f2), closes #10

1.1.0 (2022-04-17) #

⚠ BREAKING CHANGES #

  • BetrayalPlugin() and BetrayalLogConfig() have been replaced with .instance respectively.

Bug Fixes #

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 .instances 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 #

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 #

Documentation #

  • example: finish renaming into select_image (95db76e)
  • example: improve downscaling quality (0c08f84)
  • example: rename edit_icon into select_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 #

  • add path as an explicit dependency (2b4f8d2)
  • page: move page to main directory (f18b844)

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 in setIcon less verbose
  • plugin: image, picture and freeRessources have been removed. Users have to pass a ByteBuffer 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 in setIcon 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)
4
likes
130
pub points
31%
popularity

Publisher

verified publisherbent.party

A plugin to setup custom system tray icons through composable widgets.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter, logging, path, synchronized

More

Packages that depend on betrayal