laia_riverpod_custom_generator 0.0.12 laia_riverpod_custom_generator: ^0.0.12 copied to clipboard
It is a code generation package that generates the riverpod providers for the curd operations given dart class model.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add laia_riverpod_custom_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
laia_riverpod_custom_generator: ^0.0.12
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:laia_riverpod_custom_generator/laia_riverpod_custom_generator.dart';