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

Fire-and-forget one-shot action stream for flutter_bloc, for UI side-effects that must not live in state.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add ephemeral_bloc

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

dependencies:
  ephemeral_bloc: ^0.1.0

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:ephemeral_bloc/ephemeral_bloc.dart';
1
likes
160
points
88
downloads

Documentation

API reference

Publisher

verified publisherntfnd404.dev

Weekly Downloads

Fire-and-forget one-shot action stream for flutter_bloc, for UI side-effects that must not live in state.

Repository (GitHub)
View/report issues

Topics

#bloc #flutter-bloc #side-effects #actions #one-shot-events

License

MIT (license)

Dependencies

flutter, flutter_bloc, nested

More

Packages that depend on ephemeral_bloc