sni_database 0.0.1 copy "sni_database: ^0.0.1" to clipboard
sni_database: ^0.0.1 copied to clipboard

A project for local storage configuration use Sembast and Sqflite.

0
likes
110/ 140
pub points
0%
popularity

We analyzed this package 11 hours ago, and awarded it 110 pub points (of a possible 140):

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: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting sni_database... Discovering libraries... Linking elements... Precaching local docs for 620522 elements... Initialized dartdoc with 927 libraries Generating docs for library sni_database_sembast_library.dart from package:sni_database/sni_database_sembast_library.dart... Generating docs for library sni_database_sqflite_library.dart from package:sni_database/sni_database_sqflite_library.dart... Generating docs for library sni_database.dart from package:sni_database/sni_database.dart... Documented 3 public libraries in 75.3 seconds ERR: warning: sni_database has no library level documentation comments from sni_database: (file:///tmp/pana_QQCJKN/lib/sni_database_sembast_library.dart:1:9) warning: sni_database has no library level documentation comments from sni_database: (file:///tmp/pana_QQCJKN/lib/sni_database_sqflite_library.dart:1:9) error: file already written at "sni_database/sni_database-library.html" for symbol sni_database: (file:///tmp/pana_QQCJKN/lib/sni_database_sqflite_library.dart:1:9) conflicting with file already generated by sni_database: (file:///tmp/pana_QQCJKN/lib/sni_database_sembast_library.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'sni_database' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [19 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:sni_database/sni_database.dart that imports:
  • package:sni_database/sni_database_sqflite_library.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:sni_database/sni_database.dart that imports:
  • package:sni_database/sni_database_sqflite_library.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:sni_database/sni_database.dart that imports:
  • package:sni_database/sni_database_sembast_library.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: The part-of directive uses a library name.

lib/src/sembast/sembast_service.dart:1:1

  ╷
1 │ part of sni_database;
  │ ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/src/sqflite/sqlite_services.dart:1:1

  ╷
1 │ part of sni_database;
  │ ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
path ^1.8.2 1.9.0 1.9.0
path_provider ^2.0.11 2.1.3 2.1.3
provider ^6.0.5 6.1.2 6.1.2
sembast ^3.4.0+5 3.7.1 3.7.1
sembast_web ^2.0.1+4 2.3.0 2.3.0
sqflite ^2.2.3 2.3.3+1 2.3.3+1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
ffi - 2.1.2 2.1.2
idb_shim - 2.4.1+1 2.4.1+1
js - 0.7.1 0.7.1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
nested - 1.0.0 1.0.0
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
sqflite_common - 2.5.4 2.5.4
synchronized - 3.1.0+1 3.1.0+1
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

0
likes
110
pub points
0%
popularity

Publisher

verified publishersniren.my.id

A project for local storage configuration use Sembast and Sqflite.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, path, path_provider, provider, sembast, sembast_web, sqflite

More

Packages that depend on sni_database