hydrated_bloc 8.1.0 icon indicating copy to clipboard operation
hydrated_bloc: ^8.1.0 copied to clipboard

An extension to the bloc state management library which automatically persists and restores bloc states.

454
likes
130/ 140
pub points
98%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 52 out of 55 API elements (94.5 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:hydrated_bloc/hydrated_bloc.dart that imports:
  • package:hydrated_bloc/src/hydrated_storage.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 7 issues. Showing the first 2:

INFO: 'runZoned' is deprecated and shouldn't be used. This will be removed in v9.0.0. Use Bloc.observer/Bloc.transformer instead..

lib/src/hydrated_bloc.dart:53:26

   ╷
53 │     return BlocOverrides.runZoned(
   │                          ^^^^^^^^
   ╵

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

INFO: 'current' is deprecated and shouldn't be used. This will be removed in v9.0.0. Use Bloc.observer/Bloc.transformer instead..

lib/src/hydrated_bloc.dart:62:26

   ╷
62 │     return BlocOverrides.current?.blocObserver ?? super.blocObserver;
   │                          ^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
bloc^8.0.08.1.08.1.0
hive^2.0.02.2.32.2.3
meta^1.3.01.8.01.8.0
synchronized^3.0.03.0.0+33.0.0+3
Transitive dependencies
PackageConstraintCompatibleLatest
collection-1.16.01.16.0
crypto-3.0.23.0.2
typed_data-1.3.11.3.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.18, Dart 2.18.2.

454
likes
130
pub points
98%
popularity

Publisher

verified publisher iconbloclibrary.dev

An extension to the bloc state management library which automatically persists and restores bloc states.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

bloc, hive, meta, synchronized

More

Packages that depend on hydrated_bloc