79342173

Date: 2025-01-09 10:09:14
Score: 2.5
Natty:
Report link

You can actually extract the widget defined inside the builder function into a stateful widget and then use setState() inside the extracted widget as usual. This will also work.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jostin Akkara