reusable_bloc 1.0.4 copy "reusable_bloc: ^1.0.4" to clipboard
reusable_bloc: ^1.0.4 copied to clipboard

A generic bloc to fetch(and/or refetch) network data easily.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add reusable_bloc

With Flutter:

 $ flutter pub add reusable_bloc

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

dependencies:
  reusable_bloc: ^1.0.4

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:reusable_bloc/reusable_bloc.dart';
1
likes
150
points
38
downloads

Publisher

unverified uploader

Weekly Downloads

A generic bloc to fetch(and/or refetch) network data easily.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bloc, dartz, equatable

More

Packages that depend on reusable_bloc