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

Lesson 30 - Error: Property 'settings' cannot be accessed on 'ModalRoute<Object?>?' because it is potentially null. #43

Open
Spnetic-5 opened this issue Jul 13, 2021 · 1 comment

Comments

@Spnetic-5
Copy link

No description provided.

@Spnetic-5
Copy link
Author

If anybody gets stuck here in the future:)
Solution : data = ModalRoute.of(context)!.settings.arguments as Map;

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

1 participant