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.

50/ 160
pub points
45
downloads

We analyzed this package 4 days ago, and awarded it 50 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 647767 elements... Initialized dartdoc with 816 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 63.9 seconds ERR: warning: nativeshell has no library level documentation comments from nativeshell: (file:///tmp/pana_RSYYAA/lib/accelerators.dart:1:1) warning: nativeshell has no library level documentation comments from nativeshell: (file:///tmp/pana_RSYYAA/lib/nativeshell.dart:1:1) error: file already written at "nativeshell/index.html" for symbol nativeshell: (file:///tmp/pana_RSYYAA/lib/nativeshell.dart:1:1) conflicting with file already generated by nativeshell: (file:///tmp/pana_RSYYAA/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 [18 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
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:nativeshell/nativeshell.dart that imports:
  • package:nativeshell/src/window.dart that imports:
  • package:nativeshell/src/window_widget.dart that imports:
  • package:nativeshell/src/window_manager.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

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

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.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
vector_math - 2.2.0 2.2.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.1, Flutter 3.38.0, Dart 3.10.0-290.4.beta.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
36
likes
50
points
45
downloads

Publisher

verified publishernativeshell.dev

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, pedantic

More

Packages that depend on nativeshell