CopyPaste-Orbital2022 / copypaste

4 stars 0 forks source link

"Type argument 'AuthBloc' doesn't conform to the bound 'StateStreamable<S>'" #13

Closed tensaida closed 2 years ago

tensaida commented 2 years ago

Flutter throws an error in register_view.dart complaining that Error: Type argument 'AuthBloc' doesn't conform to the bound 'StateStreamable<S>' of the type variable 'B' on 'BlocListener'. Looked at this StackOverflow post, but my classes are properly named with not repetitions. This post suggests that the issue may be the incorrect pattern when calling BlockListener, but that doesn't seem to be the problem in my code.

tensaida commented 2 years ago

The issue was caused by inconsistent path names in the import statements in register_view.dart