pref_gen 0.0.3 copy "pref_gen: ^0.0.3" to clipboard
pref_gen: ^0.0.3 copied to clipboard

Generator to create boilerplate for shared preferences based on a provided interface. The generator is platform agnostic README for more details

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pref_gen

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

dependencies:
  pref_gen: ^0.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:pref_gen/pref_gen.dart';
0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Generator to create boilerplate for shared preferences based on a provided interface. The generator is platform agnostic README for more details

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

build, build_runner, code_builder, pref_gen_annotations, source_gen

More

Packages that depend on pref_gen