bloc
bloc copied to clipboard
chore: Bloc does not force us to add generic parameters.
Description
Hi. Previously there was a need to add generic parmas when specifying BlocBuilder<CubitType, StateType>.
But now analyzer is not highlighting the error.
I suppose it is caused by having B extends StateStreamable<S> on generic type?
In this case if we use
BlocBuilder(
builder: (_, state) {}
);
we'll get an error Error: Could not find the correct Provider<StateStreamable<Object?>>
Do we have any option to return back to basics with forcing generics specification?