shared_pref_annotation 0.0.2 copy "shared_pref_annotation: ^0.0.2" to clipboard
shared_pref_annotation: ^0.0.2 copied to clipboard

Annotation package for SharedPref code generation

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add shared_pref_annotation

With Flutter:

 $ flutter pub add shared_pref_annotation

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

dependencies:
  shared_pref_annotation: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:shared_pref_annotation/shared_pref_annotation.dart';
0
likes
135
points
124
downloads

Publisher

unverified uploader

Weekly Downloads

Annotation package for SharedPref code generation

Repository (GitHub)
View/report issues

Topics

#codegen #cli #shared-preferences

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on shared_pref_annotation