background color of container in flutter code example
Example 1: background color to container flutter
new Container(
width: 100,
height: 30,
decoration: new BoxDecoration(
color: Colors.green
),
)
Example 2: background color flutter
backgroundColor: Colors.white