signals_store_generator 0.6.1 copy "signals_store_generator: ^0.6.1" to clipboard
signals_store_generator: ^0.6.1 copied to clipboard

Code generator for signals_store. Turns an abstract class annotated with a single @Store annotation into a concrete subclass with Signal-backed reactive fields and Computed-backed derived getters.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add signals_store_generator

With Flutter:

 $ flutter pub add signals_store_generator

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

dependencies:
  signals_store_generator: ^0.6.1

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:signals_store_generator/signals_store_generator.dart';
0
likes
130
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code generator for signals_store. Turns an abstract class annotated with a single @Store annotation into a concrete subclass with Signal-backed reactive fields and Computed-backed derived getters.

Repository (GitHub)
View/report issues

Topics

#signals #state-management #codegen #build-runner

License

MIT (license)

Dependencies

analyzer, build, signals_store_annotation, source_gen

More

Packages that depend on signals_store_generator