appBar: AppBar( title: Text('AppBar'), foregroundColor: Colors.black; // appbar text color ), appBar: AppBar( title: const Text('Example'), backgroundColor: Colors.black, ), appBar: AppBar( title: const Text('Example'), backgroundColor: Colors.black, ),AppBar( title: Text("Flutter AppBar Color"), backgroundColor: Colors.redAccent, )