base_flutter_bloc 0.0.5
base_flutter_bloc: ^0.0.5 copied to clipboard
Simplify BLoC usage: unified 4-state machine, auto loading/error UI, flushbar notifications, retry, pagination, debounce/throttle, safeEmit and more — all in one lightweight package.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add base_flutter_blocThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
base_flutter_bloc: ^0.0.5Alternatively, 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:base_flutter_bloc/base_flutter_bloc.dart';