native_context_menu_ng 0.0.2
native_context_menu_ng: ^0.0.2 copied to clipboard
native_context_menu_ng is a Flutter plugin that provides native right-click menus for Flutter applications, supporting three major desktop platforms (macOS, Windows and Linux).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_context_menu_ng
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
native_context_menu_ng: ^0.0.2
Alternatively, 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:native_context_menu_ng/native_context_menu_ng.dart';