-
Notifications
You must be signed in to change notification settings - Fork 544
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
How can I do what the example shows? #515
Comments
Your problem has nothing to do with this package. As of Dart 2.12, there is sound-null-saftey. This is a rather new programming paradigm that more and more languages are shifting towards. It basically removes the need for doing checks like In your case, you define a variable There are now two options: you either make it nullable
Since your field is nullable, all methods performed on it must be done by calling
|
Null-safety in the examples is likely to get merged in soon. |
Describe the bug
**To
Steps to reproduce the behavior:
I followed what is shown in the example.
Screenshots
Unity (please complete the following information):
Smartphone (please complete the following information):
Additional context
I'm working on running Unity in Flutter by copying the example as it is.
I'm new to flutter so I don't know which one is the problem.
The text was updated successfully, but these errors were encountered: