Closed vonthomasyang closed 2 years ago
In step add TextEditingController to TextField controller: _usernameController got a error as "invalid constant value" as below.
What we should do for this?
Sorry for the late reply, the issue here is that your TextField is marked const, implying everything below it in the widget tree must also be const.
TextField
In step add TextEditingController to TextField controller: _usernameController got a error as "invalid constant value" as below.
What we should do for this?