rune_bloc 0.1.0
rune_bloc: ^0.1.0 copied to clipboard
flutter_bloc bridge for the rune package. Registers BlocProvider, BlocBuilder, and BlocListener widgets on a RuneConfig so Rune source can express BLoC-pattern state.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rune_blocThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
rune_bloc: ^0.1.0Alternatively, 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:rune_bloc/rune_bloc.dart';