-
Notifications
You must be signed in to change notification settings - Fork 92
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to null safety #251
Comments
@himanshusharma89 I'd like to work on this! |
Sure @ShrutiJ-01. Also if you face some dependency issues do raise a new issue for that. |
Hey @himanshusharma89 the version of packages "geocoder" and "modal_progress_hud" which the project are using are not null safe. There is a null safe version of "modal_progress_hud" and similar alternative for geocoder I've found. May I add these dependencies in the pubspec instead of old ones? |
Sure @ShrutiJ-01 |
Changed packages geocoder and modal_progress_hud to their null safe versions flutter_geocoder and modal_progress_hud_nsn in pubspec.yaml. Added null check operators and replaced deprecated methods with new ones.In widget_test.dart, added AdState provider to the 'ProductPage displays text and image correctly' test. Resolves himanshusharma89#251
Hey @himanshusharma89 , I've opened a PR. Please let me know if any changes are required! |
* Migrated Project to null safety. Changed packages geocoder and modal_progress_hud to their null safe versions flutter_geocoder and modal_progress_hud_nsn in pubspec.yaml. Added null check operators and replaced deprecated methods with new ones.In widget_test.dart, added AdState provider to the 'ProductPage displays text and image correctly' test. Resolves #251 * Migrated Project to null safety,changes in Tests In widget_test.dart, added AdState provider to the 'ProductPage displays text and image correctly' test. * Changed FirebaseAuthException to FirebaseException in remote_config.dart
Discussion 馃棧
Migrate the whole project to null safety.
Context
Follow this guide to know about the migration: https://dart.dev/null-safety/migration-guide
The text was updated successfully, but these errors were encountered: