buildBlocWrapper function

Widget buildBlocWrapper (
  1. Widget wrapper,
  2. Map<Type, EzBlocBase> blocs
)

Implementation

Widget buildBlocWrapper(Widget wrapper, Map<Type, EzBlocBase> blocs) {
  return EzBlocProvider<EzGlobalBloc>(
      bloc: EzGlobalBloc(blocs: blocs), child: wrapper);
}