I’m Trying to capture onChanged property value which is comming from my TextField and use it inside my onPressed textButton but it’s not working. I’ve read most of the related issues in stack overflow but none of it actually helping in the problem. Do you have any better suggestion that I should do.
2
Answers
You have not initialized newTaskTile before accessing it.
So, at line 12 instead of:
use:
You can use
and assign a value on init