mac_menu_bar 0.0.1
mac_menu_bar: ^0.0.1 copied to clipboard
A Flutter plugin that provides access to macOS menu bar actions, allowing Flutter applications to handle standard menu items like Cut, Copy, Paste, and Select All with custom behavior.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add mac_menu_barThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
mac_menu_bar: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mac_menu_bar/mac_menu_bar.dart';