appbar background color flutter code example
Example 1: background color to container flutter
new Container(
width: 100,
height: 30,
decoration: new BoxDecoration(
color: Colors.green
),
)
Example 2: how to change appbar color in flutter
appBar: AppBar(
title: const Text('Example'),
backgroundColor: Colors.black,
),