nativeshell 0.1.13 copy "nativeshell: ^0.1.13" to clipboard
nativeshell: ^0.1.13 copied to clipboard

outdated

NativeShell Dart API. Used to interact with NativeShell platform code.

30/ 160
pub points
46
downloads

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

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

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

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting nativeshell... Discovering libraries... Linking elements... Precaching local docs for 657204 elements... Initialized dartdoc with 831 libraries Generating docs for library accelerators.dart from package:nativeshell/accelerators.dart... Generating docs for library nativeshell.dart from package:nativeshell/nativeshell.dart... Documented 2 public libraries in 58.2 seconds ERR: warning: nativeshell has no library level documentation comments from nativeshell: (file:///tmp/pana_NUCMHV/lib/accelerators.dart:1:1) warning: nativeshell has no library level documentation comments from nativeshell: (file:///tmp/pana_NUCMHV/lib/nativeshell.dart:1:1) error: file already written at "nativeshell/index.html" for symbol nativeshell: (file:///tmp/pana_NUCMHV/lib/nativeshell.dart:1:1) conflicting with file already generated by nativeshell: (file:///tmp/pana_NUCMHV/lib/accelerators.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'nativeshell' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [16 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

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

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

Found 36 issues. Showing the first 2:

ERROR: The method 'hashValues' isn't defined for the type 'Accelerator'.

lib/src/accelerator.dart:85:23

   ╷
85 │   int get hashCode => hashValues(alt, control, meta, shift, key);
   │                       ^^^^^^^^^^
   ╵

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

ERROR: The method 'hashValues' isn't defined for the type 'MenuItem'.

lib/src/menu.dart:133:23

    ╷
133 │   int get hashCode => hashValues(title, separator, submenu != null);
    │                       ^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
pedantic ^1.9.2 1.11.1 1.11.1 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
vector_math - 2.2.0 2.4.0

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • pedantic.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/src/accelerator.dart:85:23 - The method 'hashValues' isn't defined for the type 'Accelerator'.
  • UNDEFINED_METHOD - lib/src/menu.dart:133:23 - The method 'hashValues' isn't defined for the type 'MenuItem'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Flutter 3.44.1, Dart 3.12.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
36
likes
30
points
46
downloads

Documentation

API reference

Publisher

verified publishernativeshell.dev

Weekly Downloads

NativeShell Dart API. Used to interact with NativeShell platform code.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, pedantic

More

Packages that depend on nativeshell