Skip to content

feat(macos): support tray menu item icons - #104

Open
marcelomoresco wants to merge 1 commit into
leanflutter:mainfrom
marcelomoresco:feat/macos-menu-item-icons
Open

feat(macos): support tray menu item icons#104
marcelomoresco wants to merge 1 commit into
leanflutter:mainfrom
marcelomoresco:feat/macos-menu-item-icons

Conversation

@marcelomoresco

Copy link
Copy Markdown

Summary

  • render MenuItem.icon in macOS tray menus from Flutter assets or absolute file paths
  • preserve nested menu icons and cache repeated asset encoding
  • prevent slower icon serialization from replacing a newer context menu
  • keep Linux and Windows serialization unchanged

This refreshes and supersedes the implementation proposed in #91 for the current Swift Package Manager layout.

Tests

  • flutter analyze
  • flutter test
  • flutter build macos --debug in packages/tray_manager/example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant