Flutter basics: Scaffold

preview_player
Показать описание
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:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Did the video help you? Buy a coffee for the author (make donate)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Рекомендации по теме
join shbcf.ru