composable_architecture_generator 0.2.1
composable_architecture_generator: ^0.2.1 copied to clipboard
Code generator for the Composable Architecture in Dart. Generates Lens, ActionLens, Prism, and utility extensions from @tcaState, @tcaAction, and @tcaRoute annotations.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add composable_architecture_generatorWith Flutter:
$ flutter pub add composable_architecture_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
composable_architecture_generator: ^0.2.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:composable_architecture_generator/builder.dart';