Flutter basics: Scaffold

Publié le: 06 avril 2021
sur la chaîne: 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Sur cette page du site, vous pouvez voir la vidéo en ligne Flutter basics: Scaffold durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Flutter without words 06 avril 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 19 fois et il a aimé 1 téléspectateurs. Bon visionnage!