riverpod_stateful_service_generator 6.0.1 copy "riverpod_stateful_service_generator: ^6.0.1" to clipboard
riverpod_stateful_service_generator: ^6.0.1 copied to clipboard

This package provides a lightweight stateful_service wrapper for Riverpod using code generation. See the stateful_service package for more information.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add riverpod_stateful_service_generator

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

dependencies:
  riverpod_stateful_service_generator: ^6.0.1

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

Import it

Now in your Dart code, you can use:

import 'package:riverpod_stateful_service_generator/riverpod_stateful_service_generator.dart';
0
likes
150
points
573
downloads

Publisher

verified publisherwolverinebeach.net

Weekly Downloads

This package provides a lightweight stateful_service wrapper for Riverpod using code generation. See the stateful_service package for more information.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

analyzer, build, build_config, collection, meta, path, riverpod_annotation, riverpod_stateful_service_annotation, source_gen

More

Packages that depend on riverpod_stateful_service_generator