smart_bloc 0.3.2 copy "smart_bloc: ^0.3.2" to clipboard
smart_bloc: ^0.3.2 copied to clipboard

Codegen-free BLoC/Cubit layer for Flutter: sealed async state, query/mutate with stale-result protection, one-shot UI effects, and ref-counted autoDispose lifecycle.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add smart_bloc

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

dependencies:
  smart_bloc: ^0.3.2

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:smart_bloc/smart_bloc.dart';
0
likes
150
points
53
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Codegen-free BLoC/Cubit layer for Flutter: sealed async state, query/mutate with stale-result protection, one-shot UI effects, and ref-counted autoDispose lifecycle.

Repository (GitHub)
View/report issues

Topics

#bloc #cubit #state-management #flutter #architecture

License

MIT (license)

Dependencies

equatable, flutter, flutter_bloc

More

Packages that depend on smart_bloc