preferences_generator 2.0.3 copy "preferences_generator: ^2.0.3" to clipboard
preferences_generator: ^2.0.3 copied to clipboard

A powerful code generator that creates type-safe, boilerplate-free preference modules from simple abstract classes, used with `preferences_annotation`.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add preferences_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  preferences_generator: ^2.0.3

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:preferences_generator/preferences_generator.dart';
1
likes
130
points
266
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful code generator that creates type-safe, boilerplate-free preference modules from simple abstract classes, used with `preferences_annotation`.

Homepage
Repository (GitHub)
View/report issues

Topics

#preferences #settings #storage #type-safe

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, build_config, code_builder, dart_style, preferences_annotation, source_gen

More

Packages that depend on preferences_generator