IsolateBlocProviderExtension extension

Extends the BuildContext class with the ability to perform a lookup based on a IsolateBlocBase type.

on

Methods

isolateBloc<C extends IsolateBlocBase<Object?, State>, State>() IsolateBlocWrapper<State>
Performs a lookup using the BuildContext to obtain the nearest ancestor Cubit of type C.