Solution:
The context is lost. Change [context to this.context to refer correctly.
flutter报错 Unhandled Exception: Looking up a deactivated widget‘s ancestor is unsafe.
Guess you like
Origin blog.csdn.net/Session_W/article/details/122189403
Ranking