devtools
devtools copied to clipboard
ScaffoldMessenger.showSnackBar was called, but there are currently no descendant Scaffolds to present to.
<-- Please describe your problem here. Be sure to include repro steps. -->
DevTools version: 2.20.1 ScaffoldMessenger.showSnackBar was called, but there are currently no descendant Scaffolds to present to. 'package:flutter/src/material/scaffold.dart': scaffold.dart:1 Failed assertion: line 291 pos 7: '_scaffolds.isNotEmpty'
I was getting this error this morning, then i realize that i wrap my scaffold with two materialApp. Maybe it helps?
This does not appear to be an issue report for Dart & Flutter DevTools. If you are still looking for help, consider posting on Discord or checking stack overflow. Thanks.