BlocSelector
BlocSelector with automatically retrieved Bloc
with selector function
with AbstractSelector
This is the value that will be passed to the content
composable, and recomposition will be triggered not by change of the full bloc state but instead of this derived value.
The blocTag
parameter is not present in the original flutter_bloc
implementation.
For selecting part of the original Bloc state, it is possible to use a selector function selectorFn
BlocSelector for externally provided Bloc
with selector function
with AbstractSelector
These are the same as the previous methods but with an explicitly specified Bloc instance externallyProvidedBlock
, not retrieved implicitly from current registered blocs in the current composable subtree.
Last updated
Was this helpful?