super_context_menu 0.6.4 super_context_menu: ^0.6.4 copied to clipboard
Context menu for Flutter that can seamlesly transition to drag & drop on mobile. Uses system context menu on iOS, macOS and Linux.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add super_context_menu
With Flutter:
$ flutter pub add super_context_menu
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
super_context_menu: ^0.6.4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:super_context_menu/super_context_menu.dart';