What do you want to save?
Add Code snippet
New code examples
-
Dart 2021-09-17 23:09:02
Failed assertion:'initialValue == null || controller == null': is not true.
You can't use initialValue and controller at the same time. So, a better way is to use controller because its constructor does provide you initial value that you can set. Here is an example. // In class level final controller = TextEditingController(te... Add solution