super_context_menu 0.8.2 super_context_menu: ^0.8.2 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.8.2
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';