有些页面pop的时候,会出现以下错误
visitChildElements() called during build.
The Build Context.visitChildElements()
method can't be called during build
because the child list is still being updated
at that point, so the children might not be
constructed yet, or might be old children
that are going to be replaced.
有些页面pop的时候,会出现以下错误 visitChildElements() called during build. The Build Context.visitChildElements() method can't be called during build because the child list is still being updated at that point, so the children might not be constructed yet, or might be old children that are going to be replaced.