context_menus 2.0.0+1 copy "context_menus: ^2.0.0+1" to clipboard
context_menus: ^2.0.0+1 copied to clipboard

A package to show context menus on right-click or long-press.

152
likes
135/ 160
pub points
1.58k
downloads

We analyzed this package 2 days ago, and awarded it 135 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 image link is insecure.

README.md:3:1

  ╷
3 │ <img src="http://screens.gskinner.com/shawn/0tVhpe5OY2.gif" alt="" />
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

27 out of 94 API elements (28.7 %) have documentation comments.

Some symbols that are missing documentation: context_menus, context_menus.ContextMenuButton.ContextMenuButton.new, context_menus.ContextMenuButton.config, context_menus.ContextMenuButton.style, context_menus.ContextMenuButtonBuilder.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 12 issues. Showing the first 2:

WARNING: A value for optional parameter 'key' isn't ever given.

lib/src/context_menu_overlay.dart:169:11

    ╷
169 │     super.key,
    │           ^^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/context_menu_overlay.dart

INFO: Use the generic function type syntax in 'typedef's.

lib/src/widgets/context_menu_button.dart:3:16

3typedef Widget ContextMenuButtonBuilder(
  │                ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/context_menu_button.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
url_launcher ^6.2.6 6.3.1 6.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
plugin_platform_interface - 2.1.8 2.1.8
url_launcher_android - 6.3.15 6.3.15
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.0 2.4.0
url_launcher_windows - 3.1.4 3.1.4
vector_math - 2.1.4 2.1.4
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 26Jul 24Aug 21Sep 18Oct 16Nov 13Dec 11Jan 8Feb 5Mar 502004006008001k1.2k1.4k>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0
152
likes
135
points
1.58k
downloads

Publisher

verified publishergskinner.com

Weekly Downloads

2024.09.11 - 2025.03.26

A package to show context menus on right-click or long-press.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, url_launcher

More

Packages that depend on context_menus