Container

The Container widget lets you create a rectangular visual element.
A container can be decorated with a BoxDecoration, such as a
background, a border, or a shadow. A Container can also have margins,
padding, and constraints applied to its size. In addition, a
Container can be transformed in three dimensional space using a matrix.

Below are some simple widgets that combine these and other widgets:

Be sure to have a uses-material-design: true entry in the flutter
section of your pubspec.yaml file. It allows you to use the predefined
set of Material icons. It’s generally a good idea to include this line
if you are using the Materials library.

name

my_app

flutter

uses-material-design

true

Many Material Design widgets need to be inside of a MaterialApp
to display properly, in order to inherit theme data.
Therefore, run the application with a MaterialApp.