add background color on container in flutter code example
Example: background color to container flutter
new Container(
width: 100,
height: 30,
decoration: new BoxDecoration(
color: Colors.green
),
)
new Container(
width: 100,
height: 30,
decoration: new BoxDecoration(
color: Colors.green
),
)