-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TaxiBookingBloc #3
Comments
did u get it resolved ? |
Its because , current version of bloc is 6.0.1, please replace bloc variable with cubit . It works |
i didn't get it |
Any solution to this issue? |
error: The superclass 'Bloc<TaxiBookingEvent, TaxiBookingState>' doesn't have a zero argument constructor. (no_default_super_constructor at [taxi_app] lib\bloc\taxi_booking_bloc.dart:14) |
Manually set version numbers of flutter bloc and bloc packages to 4.0.0 |
The superclass 'Bloc<TaxiBookingEvent, TaxiBookingState>' doesn't have a zero argument constructor.
Try declaring a zero argument constructor in 'Bloc<TaxiBookingEvent, TaxiBookingState>', or declaring a constructor in TaxiBookingBloc that explicitly invokes a constructor in 'Bloc<TaxiBookingEvent, TaxiBookingState>'.dart(no_default_super_constructor)
The text was updated successfully, but these errors were encountered: