{"repo":"mynameiskenlee/flutter_macos_menubar_example","free":true,"listed":false,"github":"https://github.com/mynameiskenlee/flutter_macos_menubar_example","clone":"git clone https://github.com/mynameiskenlee/flutter_macos_menubar_example.git","description":"starter template for building macOS menubar app with flutter and AppKit","language":"Dart","stars":145,"topics":["flutter","flutter-macos","menubar-app","flutter-template","flutter-example-app","macos","appkit"],"license":null,"category":"mobile-apps","readme_excerpt":"flutter macos menubar example starter template for building menubar app in flutter Use multi windows branch for example with addtional windows (select include all branches when using this template) ------------------------------------------------------- Getting Started (for single window menu bar app only) use this template or follow the following step in your flutter project: 1. Change to Content of macos/Runner/AppDelegate.swift 2. Add a new Swift file named 'PopoverContentController.swift' in macos/Runner 3. Add a new Swift file named 'StatusBarController.swift' in macos/Runner Add the following code to the StatusBarController.swift 4. Add the following to macos/Runner/Info.plist to hide the dock icon and application menu To close the app programmatically, use the following code 5. Done! You can now build your menubar app with flutter. ------------------------------------------------------- This project is a starting point for a Flutter menubar application in macOS. A few resources to get you started if this is your first Flutter project: - Lab: Write your first Flutter app - Cookbook: Useful Flutter samples For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.","default_branch":null,"files":null,"tree":[],"storefront":"/r/mynameiskenlee","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mynameiskenlee/flutter_macos_menubar_example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}