native_storage 0.2.2 copy "native_storage: ^0.2.2" to clipboard
native_storage: ^0.2.2 copied to clipboard

A Dart-only package for accessing platform-native storage functionality.

64
likes
150/ 160
pub points
76%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause-Patent.

OK
Provide documentation
20 / 20trigger folding of the section

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

37 out of 48 API elements (77.1 %) have documentation comments.

Some symbols that are missing documentation: native_storage, native_storage.NativeMemoryStorage.allKeys, native_storage.NativeMemoryStorage.closeInternal, native_storage.NativeMemoryStorage.instances, native_storage.NativeStorage.instances.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.linux.dart that imports:
  • package:native_storage/src/native/linux/linux.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:native_storage/native_storage.dart that imports:
  • package:native_storage/src/native_storage.dart that imports:
  • package:native_storage/src/local/local_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage_platform.vm.dart that imports:
  • package:native_storage/src/secure/secure_storage.windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.1.2 2.1.3 2.1.3
jni ^0.11.0 0.11.0 0.12.2
logging ^1.2.0 1.3.0 1.3.0
meta ^1.11.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
stack_trace ^1.11.1 1.12.0 1.12.0
stream_channel ^2.1.2 2.1.2 2.1.2
web >=0.5.0 <2.0.0 1.1.0 1.1.0
win32 ^5.4.0 5.8.0 5.8.0
win32_registry ^1.1.2 1.1.5 2.0.0
windows_applicationmodel ^0.2.0 0.2.0 0.2.0
xdg_directories ^1.0.4 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
package_config - 2.1.0 2.1.0
plugin_platform_interface - 2.1.8 2.1.8
windows_data - 0.2.0 0.2.0
windows_devices - 0.2.0 0.2.0
windows_foundation - 0.2.0 0.2.0
windows_globalization - 0.1.0+1 0.1.0+1
windows_graphics - 0.2.0 0.2.0
windows_media - 0.2.0 0.2.0
windows_networking - 0.2.0 0.2.0
windows_perception - 0.1.0 0.1.0
windows_security - 0.1.0+1 0.1.0+1
windows_services - 0.1.0 0.1.0
windows_storage - 0.2.0 0.2.0
windows_system - 0.1.0+1 0.1.0+1
windows_ui - 0.2.0 0.2.0

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

The constraint `^0.11.0` on jni does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions jni to update the constraint.

The constraint `^1.1.2` on win32_registry does not support the stable version `2.0.0`, that was published 17 days ago.

When win32_registry is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions win32_registry to update the constraint.

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

64
likes
150
pub points
76%
popularity

Publisher

verified publishercelest.dev

A Dart-only package for accessing platform-native storage functionality.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause-Patent (license)

Dependencies

ffi, jni, logging, meta, path, stack_trace, stream_channel, web, win32, win32_registry, windows_applicationmodel, xdg_directories

More

Packages that depend on native_storage