disable_web_context_menu 1.1.0 copy "disable_web_context_menu: ^1.1.0" to clipboard
disable_web_context_menu: ^1.1.0 copied to clipboard

Disables the web context menu for a given widget

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add disable_web_context_menu
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  disable_web_context_menu: ^1.1.0
copied to clipboard

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:disable_web_context_menu/disable_web_context_menu.dart';
copied to clipboard
9
likes
150
points
42
downloads

Publisher

verified publishermariuti.com

Weekly Downloads

2024.09.29 - 2025.04.13

Disables the web context menu for a given widget

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, web

More

Packages that depend on disable_web_context_menu