nativeshell_core 0.1.0 copy "nativeshell_core: ^0.1.0" to clipboard
nativeshell_core: ^0.1.0 copied to clipboard

Dart interface to NativeShell Core

0
likes
110/ 160
pub points
26
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

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

8 out of 48 API elements (16.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: nativeshell_core, nativeshell_core.FinalizableHandle.FinalizableHandle.new, nativeshell_core.FinalizableHandle.id, nativeshell_core.MessageChannel.MessageChannel.new, nativeshell_core.MessageChannel.handler.

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_core/nativeshell_core.dart that imports:
  • package:nativeshell_core/src/mock_message_channel_context.dart that imports:
  • package:nativeshell_core/src/method_channel.dart that imports:
  • package:nativeshell_core/src/message_channel.dart that imports:
  • package:nativeshell_core/src/native_message_channel_context.dart that imports:
  • package:nativeshell_core/src/native_functions.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:nativeshell_core/nativeshell_core.dart that imports:
  • package:nativeshell_core/src/mock_message_channel_context.dart that imports:
  • package:nativeshell_core/src/method_channel.dart that imports:
  • package:nativeshell_core/src/message_channel.dart that imports:
  • package:nativeshell_core/src/native_message_channel_context.dart that imports:
  • package:nativeshell_core/src/native_functions.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

lib/src/native_list.dart:63:38

63/// Currently only supported on Vec<Uint8>
   │                                      ^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/native_list.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
ffi ^2.0.1 2.1.4 2.1.4
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
vector_math - 2.1.4 2.1.4

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 23Jul 21Aug 18Sep 15Oct 13Nov 10Dec 8Jan 5Feb 2Mar 2024681012>=0.0.0-0 <1.0.0
0
likes
110
points
26
downloads

Publisher

verified publishernativeshell.dev

Weekly Downloads

2024.09.08 - 2025.03.23

Dart interface to NativeShell Core

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

ffi, flutter

More

Packages that depend on nativeshell_core