Flutter basics: Scaffold

Published: 06 April 2021
on channel: Flutter without words
19
1

The Scaffold is designed to be a top level container for a MaterialApp. This means that adding a Scaffold to each route on a Material app will provide the app with Material's basic visual layout structure.

Main Scaffold Components:
1) body
The primary content of the scaffold
2) backgroundColor
The color of the Material widget that underlies the entire Scaffold.
3) appBar
An app bar to display at the top of the scaffold.
4) drawer
A panel displayed to the side of the body, often hidden on mobile devices.
5) bottomNavigationBar
A bottom navigation bar to display at the bottom of the scaffold.

UPD:
Also you can use
6) floatingActionButton
A button displayed floating above body, in the bottom right corner.

From official documentation:
https://api.flutter.dev/flutter/mater...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did the video help you? Buy a coffee for the author (make donate)
YooMoney (Visa/MasterCard): https://yoomoney.ru/to/410011350361961
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


On this page of the site you can watch the video online Flutter basics: Scaffold with a duration of hours minute second in good quality, which was uploaded by the user Flutter without words 06 April 2021, share the link with friends and acquaintances, this video has already been watched 19 times on youtube and it was liked by 1 viewers. Enjoy your viewing!