What is Scaffold in Flutter| What is Scaffold?|#application #flutter #foryou #flutterappdevelopment

preview_player
Показать описание
What is Scaffold in Flutter?
Scaffold class in Flutter with Examples

Scaffold is a class in flutter which provides many widgets or we can say APIs like Drawer, Snack-Bar, Bottom-Navigation-Bar, Floating-Action-Button, App-Bar, etc. Scaffold will expand or occupy the whole device screen. It will occupy the available space. Scaffold will provide a framework to implement the basic material design layout of the application. 

The class Hierarchy is as follows:

Object ↳ Diagnosticable ↳ Diagnosticable Tree ↳ Widget ↳ StateFul Widget ↳ Scaffold

Constructor of the Scaffold class: 

Properties of Scaffold Class:  

app-Bar: It displays a horizontal bar which mainly placed at the top of the Scaffold. appBar uses the widget AppBar which has its own properties like elevation, title, brightness, etc. 

Dart

Widget build(BuildContext context)

{

  return Scaffold(

    appBar: AppBar(

      title: const Text('GeeksforGeeks'),

    ),

#application #flutter #arabic #foryou #bhfyp #beautiful #cover #explore #bollywood
Рекомендации по теме
visit shbcf.ru