Taxi-App icon indicating copy to clipboard operation
Taxi-App copied to clipboard

migrate to the new version of flutter

Open noaman813 opened this issue 3 years ago • 2 comments

noaman813 avatar Apr 05 '21 15:04 noaman813

++

hasher313 avatar May 13 '21 23:05 hasher313

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

hasher313 avatar May 14 '21 00:05 hasher313