flutter报错 Unhandled Exception: Looking up a deactivated widget‘s ancestor is unsafe.

Insert image description here
Solution:
The context is lost. Change [context to this.context to refer correctly.
Insert image description here

Supongo que te gusta

Origin blog.csdn.net/Session_W/article/details/122189403
Recomendado
Clasificación