Change color of settings app bar

This commit is contained in:
hunteraraujo
2023-09-24 12:13:05 -07:00
parent a09d2a581f
commit 9bd06cefdd

View File

@@ -13,7 +13,10 @@ class SettingsView extends StatelessWidget {
return ChangeNotifierProvider(
create: (context) => SettingsViewModel(),
child: Scaffold(
appBar: AppBar(title: const Text('Settings')),
appBar: AppBar(
backgroundColor: Colors.grey,
foregroundColor: Colors.black,
title: const Text('Settings')),
body: Consumer<SettingsViewModel>(
builder: (context, viewModel, child) {
// A list of settings is displayed using [ListView].