hive_flutter 1.0.0
hive_flutter: ^1.0.0 copied to clipboard

Extension for Hive. Makes it easier to use Hive in Flutter apps.

152
likes
90 / 130
pub points
98 %
popularity

We analyzed this package on May 6, 2021, and awarded it 90 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 13 out of 15 API elements (86.7 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Found 8 issues. Showing the first 2:

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:hive_flutter/hive_flutter.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS
Pass static analysis
20 / 30

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

INFO: The operand can't be null, so the condition is always true.

lib/src/hive_extensions.dart:12:18

   ╷
12 │       if (appDir != null) {
   │                  ^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/hive_extensions.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
hive^2.0.02.0.42.0.4
path^1.8.01.8.01.8.0
path_provider^2.0.02.0.12.0.1
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.1.0
collection-1.15.01.15.0
crypto-3.0.13.0.1
ffi-1.0.01.0.0
file-6.1.06.1.0
meta-1.3.01.3.0
path_provider_linux-2.0.02.0.0
path_provider_macos-2.0.02.0.0
path_provider_platform_interface-2.0.12.0.1
path_provider_windows-2.0.12.0.1
platform-3.0.03.0.0
plugin_platform_interface-2.0.02.0.0
process-4.2.14.2.1
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.0
win32-2.0.52.0.5
xdg_directories-0.2.00.2.0

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

Support sound null safety
0 / 20

0/20 points: Null safety support has one or more issues.

Tag detection failed.

Broken import dart:indexed_db

For more information

Try running dart pub outdated --mode=null-safety. Be sure to read the migration guide.

Analysed with Pana 0.16.0, Flutter 2.0.6, Dart 2.12.3.

152
likes
90
pub points
98%
popularity

Publisher

hivedb.dev

Extension for Hive. Makes it easier to use Hive in Flutter apps.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Apache 2.0 (LICENSE)

Dependencies

flutter, hive, path, path_provider

More

Packages that depend on hive_flutter