Container Widget
In this lesson, we cover building the main content area of the Profile Page in detail.
We'll cover the following
Introduction
In this lesson, you’ll use the Scaffold
widget’s body
property to implement content for the Profile page screen.
Let’s use the placeholder widget Container
for the main content.
Add Container
widget
Container
widget is a versatile widget. It is capable of combining sizing, painting, and positioning widgets.
To keep it simple, we’ll assign Container()
for the body
property.
body: Container(),
Get hands-on with 1200+ tech skills courses.