widget_hydrator 2.0.0 copy "widget_hydrator: ^2.0.0" to clipboard
widget_hydrator: ^2.0.0 copied to clipboard

A powerful Flutter mixin for effortless StatefulWidget state persistence and hydration. Provides automatic saving and restoring of widget state across app restarts, with support for encryption, compre [...]

5
likes
120/ 160
pub points
47
downloads

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

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

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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

43 out of 80 API elements (53.8 %) have documentation comments.

Some symbols that are missing documentation: configuration_service, configuration_service.ConfigurationService, configuration_service.ConfigurationService.ConfigurationService.new, configuration_service.ConfigurationService.currentVersion, configuration_service.ConfigurationService.enableEncryption.

Passed check 10/10 points: Package has 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 does not support platform `Web`.

Because:

  • package:widget_hydrator/widget_hydrator.dart that imports:
  • package:widget_hydrator/services/storage_service.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:widget_hydrator/widget_hydrator.dart that imports:
  • package:widget_hydrator/services/storage_service.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: The value of the field '_stateCache' isn't used.

lib/widget_hydrator.dart:85:25

85Map<String, dynamic>? _stateCache;
   │                         ^^^^^^^^^^^
   ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
archive ^3.6.1 3.6.1 4.0.5
crypto ^3.0.5 3.0.6 3.0.6
encrypt ^5.0.3 5.0.3 5.0.3
hive ^2.2.3 2.2.3 2.2.3
mockito ^5.4.4 5.4.5 5.4.5
path_provider ^2.1.4 2.1.5 2.1.5
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 80.0.0 80.0.0
analyzer - 7.3.0 7.3.0
args - 2.7.0 2.7.0
asn1lib - 1.6.2 1.6.2
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 2.4.2 2.4.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.5 8.9.5
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
code_builder - 4.10.1 4.10.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
dart_style - 3.0.1 3.0.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.16 2.2.16
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.0 2.2.0
source_gen - 2.0.0 2.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^3.6.1` on archive does not support the stable version `4.0.0`.

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

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:
Jul 8Aug 5Sep 2Sep 30Oct 28Nov 25Dec 23Jan 20Feb 17Mar 17020406080100120140>=0.0.0-0 <1.0.0>=2.0.0-0 <3.0.0
5
likes
120
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

A powerful Flutter mixin for effortless StatefulWidget state persistence and hydration. Provides automatic saving and restoring of widget state across app restarts, with support for encryption, compression, versioning, and cross-platform storage. Features include selective persistence, state snapshots, undo/redo functionality, and performance metrics.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

archive, crypto, encrypt, flutter, hive, mockito, path_provider, universal_io

More

Packages that depend on widget_hydrator