What is the difference between Scaffold and MaterialApp?

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.

Sizin İçin Seçtik  How do you add a set state in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

What is the difference between Scaffold and MaterialApp?

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.

Sizin İçin Seçtik  Can we use await in initState Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *