ScaffoldMessenger.showSnackBar doesn't check if there are any Scaffolds to present in #103004
Labels
a: error message
Error messages from the Flutter framework
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
Title!
You can call showSnackBar and have nothing happen if there is not a descendant Scaffold.
We should add an assertion to let folks know.
The text was updated successfully, but these errors were encountered: