<p>According to** Material Design <strong>visual layout structure</strong>, **a mobile application screen comprises of several Components like <strong>App bar</strong>, which features the name of Application, **Navigation Drawer or Bottom Navigation, **which is to provide access to different screen and some other application functionalities, and **font-size: 1rem;](Floating action button **font-size: 1rem;](that performs the frequent or common action on the screen *font-size: 1rem;](fig(a)*font-size: 1rem;](.</p> <p>color:#cc7832;](, leading: color:#ffd23e;](Icon(Icons.color:#9876aa;font-style:italic;](home)color:#cc7832;](,)color:#cc7832;](, color:#cc7832;]( color:#ffd23e;](ListTile(title: color:#ffd23e;](Text(color:#b4ca2e;]("About")color:#cc7832;](, leading: color:#ffd23e;](Icon(Icons.color:#9876aa;font-style:italic;](info)color:#cc7832;](,)color:#cc7832;](, color:#cc7832;]( color:#ffd23e;](ListTile(title: color:#ffd23e;](Text(color:#b4ca2e;]("Settings")color:#cc7832;](, leading: color:#ffd23e;](Icon(Icons.color:#9876aa;font-style:italic;](settings)color:#cc7832;](,)color:#cc7832;](, color:#cc7832;]( ]color:#cc7832;](, color:#cc7832;]( )color:#cc7832;](, )color:#cc7832;](,</p> <p><strong>2. appBar:</strong> You can use this property to define the App bar, which usually show the title of the application. Flutter has <strong>AppBar</strong> **widget. **Following is the code for defining appBar for the application screen.</p> <p><strong>3</strong>font-weight: bolder;](. floatingActionButton: You can use this property to define the Floating action button for the screen, which usually on screen to perform most frequent or most common action. Flutter has font-weight: bolder;](FloatingActionButton widget for defining <strong>floatingActionButton</strong> propertyfont-weight: bolder;](. Following is the code for defining font-weight: bolder;](floatingActionButton for the application screen. font-size: 1rem;](<strong>4. bottomNaviagtionBar</strong>This is used to show Bottom Navigation bar on screen, which provides access to different screens and different functionalities of application. The different between Drawer Navigation and Bottom Navigation is that bottom Navigation is fixed at the bottom of the screen, while Drawer is slidable. Flutter has **BottomNavigationBar **widget to define font-weight: bolder; font-size: 1rem;](bottomNavigationBarfont-size: 1rem;]( property. Following is the code for <strong>font-size: 1rem;](bottomNavigationBar</strong>font-size: 1rem;](.<br /> font-size: 1rem;](<strong>5. body</strong>For defining the main content of the screen, Scaffold has body proper, you can give any sort of widget tree in the body of Scaffold widget<br /> <strong>So That's It!</strong></p> <p>We have learnt that why we actually use scaffold widget, and what we can achieve using Scaffold widget as a root widget for screen. If you found this article helpful, and want to learn more then head over my YouTube channel.</p> <p>**YouTube **: <a href="https://youtube.com/EasyApproach">https://youtube.com/EasyApproach</a> <strong>Thanks!</strong></p>
Flutter Scaffold Widget
This Article is posted by themaaz32 at 2/4/2020 8:45:51 PM
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter
Tags: Flutter
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter