bloc_builder 2.2.2 copy "bloc_builder: ^2.2.2" to clipboard
bloc_builder: ^2.2.2 copied to clipboard

Util to easily create BLoC

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add bloc_builder

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

dependencies:
  bloc_builder: ^2.2.2

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:bloc_builder/base_widget.dart';
import 'package:bloc_builder/index.dart';
import 'package:bloc_builder/widgets/for_bloc_widget.dart';
import 'package:bloc_builder/widgets/match_bloc_widget.dart';
import 'package:bloc_builder/widgets/watch_bloc_widget.dart';
import 'package:bloc_builder/widgets/when_bloc_widget.dart';
1
likes
100
points
128
downloads

Publisher

unverified uploader

Weekly Downloads

Util to easily create BLoC

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter, flutter_live_data, logger

More

Packages that depend on bloc_builder