Use case
currently when setState() is called after a widget is disposed then flutter throws this :
setState() called after dispose(): _MyWidgetState#abcd
Proposal
Improve _debugSetState() in framework.dart to include:
a clearer explanation like “You may be updating the UI after navigation” and maybe you can add a link to official docs
this small improvement would make the message more beginner-friendly with zero runtime impact.
Use case
currently when setState() is called after a widget is disposed then flutter throws this :
setState() called after dispose(): _MyWidgetState#abcd
Proposal
Improve _debugSetState() in framework.dart to include:
a clearer explanation like “You may be updating the UI after navigation” and maybe you can add a link to official docs
this small improvement would make the message more beginner-friendly with zero runtime impact.