What is the difference between Scaffold and MaterialApp in Flutter?

Posted by Jessica Taylor | Updated on

In this example, we will learn what is the difference between Scaffold and MaterialApp in Flutter?

MaterialApp is the starting point of your app, it tells Flutter that you are going to use Material components and follow material design in your app.

Scaffold is used under MaterialApp, it gives you many basic functionalities, like AppBar, BottomNavigationBar, Drawer, FloatingActionButton etc.


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