When the createState() function is called and the state is created, the mounted property changes to true.
mounted property is true -> it means you can access the buildContext class that can control the widget.
If mounted is false, an error occurs.
[Flutter] What Context.mounted Means
Published 1 min read
Comments
Leaving a comment stores your nickname (or GitHub profile info). Privacy policy