state_graph_bloc_flutter 0.0.1 state_graph_bloc_flutter: ^0.0.1 copied to clipboard
A package to use state_graph_bloc in flutter.
state_graph_bloc_flutter #
A companion package to state_graph_bloc package.
Usage #
StreamSubscriptionBuilder #
StreamSubscriptionBuilder(
(context) => [
bloc.anotherStream.listen((event) => event.use((data) => print("Stream data: $data"))),
],
child: Text("Child"),
);
Samples #
You can experiment with sample application hosted here: https://gitlab.com/marcin.jelenski/bloc-showcase
Also test
directory contains all State Graph Bloc use cases.