79749855

Date: 2025-08-29 05:53:02
Score: 2.5
Natty:
Report link

Check this stack overflow post out. The answer is that you need to when you instantiate your stateful widget, you should also pass a key in it's constructor. This way, each instance of your widget will mantain it's own state, and not share one state across multiple instances.

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