signals_store_generator 0.6.1
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_generatorWith Flutter:
$ flutter pub add signals_store_generatorThis 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.1Alternatively, 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';