You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: Home._parameters (must_be_immutable at [hello_flutter_boost] lib/page/home.dart:6)
Here is a problem. I have to define _parameters to store parameter from Home() (constructor) so the widget can get parameters from outside. But it causes a warning.
Is there any way to avoid the warning?
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Here is my code.
IDE says that there is a warning.
Here is a problem. I have to define
_parameters
to store parameter fromHome()
(constructor) so the widget can get parameters from outside. But it causes a warning.Is there any way to avoid the warning?
The text was updated successfully, but these errors were encountered: