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

Null Safety #1

Closed
krisnachy opened this issue Jun 2, 2021 · 1 comment
Closed

Null Safety #1

krisnachy opened this issue Jun 2, 2021 · 1 comment

Comments

@krisnachy
Copy link

Hello, i tried usin your code, adn i have an issue with DetailPage parameter:

const DetailPage({Key key, this.charInfo}) : super(key: key);

this 2 always require non null parameter, when i tried Key? key, require this.charInfo, the apps wont run with error:
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

Do u know how to solved it?
Tahnk you in advance

@krisnachy
Copy link
Author

Solved

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