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

A powerful, codegen-free BLoC/Cubit layer for Flutter: sealed BaseState, SmartCubit/SmartBloc with stale-result protection and one-shot UI effects, generation-safe ref-counted lifecycle (BlocManager), [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smart_bloc

With Flutter:

 $ flutter pub add smart_bloc

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

dependencies:
  smart_bloc: ^0.3.0

Alternatively, 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:smart_bloc/smart_bloc.dart';
0
likes
0
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful, codegen-free BLoC/Cubit layer for Flutter: sealed BaseState, SmartCubit/SmartBloc with stale-result protection and one-shot UI effects, generation-safe ref-counted lifecycle (BlocManager), and batteries-included widgets — autoDispose and family ergonomics without build_runner.

Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

equatable, flutter, flutter_bloc

More

Packages that depend on smart_bloc