shared_pref_builder 1.0.1 copy "shared_pref_builder: ^1.0.1" to clipboard
shared_pref_builder: ^1.0.1 copied to clipboard

A code generator that builds easy-to-use SharedPreferences accessors for Flutter apps.

1.0.0 #

  • Added support for primitive types
  • Added support for JSON
  • Added support for SPField for custom from and to
  • Added support for DateTime
  • Added sp_builder config check from pubspec.yaml

1.0.1 #

  • [BREAKING CHANGE] Removed part file generation. (*.g.dart)
    • .g.dart file creates conflicts with build_runner. so now the generates file is suffixed with _gen.dart
  • Update documentation
  • [Fix] pubspec.yaml config key mismatch.
    • Passing the file path under shared_pref_builder > path for works properly.
    • If it does not start with lib/, lib will be added to the file path before scanning.
0
likes
120
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

A code generator that builds easy-to-use SharedPreferences accessors for Flutter apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, args, code_builder, dart_style, path, shared_pref_annotation, yaml

More

Packages that depend on shared_pref_builder