Skip to content
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

migrate to the new version of flutter #8

Open
noaman813 opened this issue Apr 5, 2021 · 2 comments
Open

migrate to the new version of flutter #8

noaman813 opened this issue Apr 5, 2021 · 2 comments

Comments

@noaman813
Copy link

No description provided.

@hasher313
Copy link

++

@hasher313
Copy link

C:\Users\usr\AndroidStudioProjects\zaki\taxi_app>dart migrate
Migrating C:\Users\usr\AndroidStudioProjects\zaki\taxi_app

See https://dart.dev/go/null-safety-migration for a migration guide.

Analyzing project...
[----------------------------------------------------------------------------------------------------------------------------------------------------]3 analysis issues found:
error • The superclass 'Bloc<TaxiBookingEvent, TaxiBookingState>' doesn't have a zero argument constructor at lib\bloc\taxi_booking_bloc.dart:14:7 •
(no_default_super_constructor)
error • A value of type 'PermissionStatus' can't be assigned to a variable of type 'bool' at lib\controllers\user_location_controller.dart:8:18 • (invalid_assignment)
error • A value of type 'PermissionStatus' can't be assigned to a variable of type 'bool' at lib\controllers\user_location_controller.dart:10:21 • (invalid_assignment)

The migration tool didn't start, due to analysis errors.

We recommend fixing the analysis issues before running dart migrate.
Alternatively, you can run dart migrate --ignore-errors, but you might
get erroneous migration suggestions.

More information: https://dart.dev/go/null-safety-migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants