How to properly display a Snackbar in Flutter?

Posted by Jennifer | Updated on

Want to properly display a Snackbar in Flutter? That happens because the BuildContext used has not a Scaffold ancestor thus, won’t be able to find it to render a SnackBar since it’s up to the Scaffold to display it.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers