Flutter: Scaffold.of() called with a context that does not contain a Scaffold.

https://api.flutter.dev/flutter/material/Scaffold/of.html
body下再加一层Builder

你可能感兴趣的:(Flutter)