getGlobalBlocConsumer method
Widget
getGlobalBlocConsumer(
- BlocBuilderFunction builder, {
- BlocListenerFunction? listener,
- WidgetNodeSpec? node,
Convenience method to instantiate a GlobalBlocConsumer and facilitate overriding.
Implementation
Widget getGlobalBlocConsumer(BlocBuilderFunction builder,
{BlocListenerFunction? listener, WidgetNodeSpec? node}) =>
GlobalBlocConsumer(builder, defaultListener: listener, node: node);