Scaffold
Learn about the Scaffold widget in Flutter, which will act as a container that holds other UI widgets to build a screen.
We'll cover the following
The Scaffold
widget is used whenever we want to build a new screen. However, it won’t be directly visible to us. Think of it as a container that will hold the other widgets that we’ll eventually see on the screen.
In the following code snippet, we’ll build a Scaffold
widget in the scaffold_example.dart
and use some of its major properties.
Note: Please go through the comments of each file to understand it better.
Example
Let’s look at the code below:
Get hands-on with 1400+ tech skills courses.