change the appBar full color flutter code example
Example: how to change appbar color in flutter
appBar: AppBar(
title: const Text('Example'),
backgroundColor: Colors.black,
),
appBar: AppBar(
title: const Text('Example'),
backgroundColor: Colors.black,
),