shared_preferences_gen 0.1.1 copy "shared_preferences_gen: ^0.1.1" to clipboard
shared_preferences_gen: ^0.1.1 copied to clipboard

A code generator that provides strongly-typed accessors for Flutter shared_preferences entries.

0.1.1 #

  • Generate non-null getter if a default value is provided
  • Improved generation of literal default values
  • Handle non literal default values specified in SharedPrefEntry.defaultValueAsString

0.1.0+1 #

  • Longer description in pubspec.yaml to increase the score on pub.dev

0.1.0 #

  • Initial release
  • Support for bool, double, int, String, List<String>, DateTime, enum, and serializable objects
7
likes
140
points
31
downloads

Publisher

verified publisherrouxguillau.me

Weekly Downloads

A code generator that provides strongly-typed accessors for Flutter shared_preferences entries.

Homepage
Repository (GitHub)
View/report issues

Topics

#codegen #build-runner #shared-preferences

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, shared_preferences_annotation, source_gen, source_helper

More

Packages that depend on shared_preferences_gen