blocfx 0.1.0 copy "blocfx: ^0.1.0" to clipboard
blocfx: ^0.1.0 copied to clipboard

A Flutter package that adds Effect (side-effects) support to flutter_bloc, following MVI pattern for handling single-shot events like navigation and dialogs, bottomsheet, etc.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add blocfx

With Flutter:

 $ flutter pub add blocfx

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

dependencies:
  blocfx: ^0.1.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:blocfx/blocfx.dart';
0
likes
0
points
101
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that adds Effect (side-effects) support to flutter_bloc, following MVI pattern for handling single-shot events like navigation and dialogs, bottomsheet, etc.

Repository (GitHub)
View/report issues

Topics

#bloc #state-management #mvi #side-effects #flutter

License

unknown (license)

Dependencies

flutter, flutter_bloc

More

Packages that depend on blocfx