79357098

Date: 2025-01-15 04:57:40
Score: 0.5
Natty:
Report link

Make sure your TextField is part of a StatefulWidget and you need to change the value of newTaskName using setState like this.

TextField(
  autofocus: true,
  onChanged: (newText) {
    setState(() {
      newTaskName = newText;
    });
  },
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RoHaN