Remove accentColor et al. from tests (#78449)

This commit is contained in:
Hans Muller
2021-03-17 13:28:09 -07:00
committed by GitHub
parent 93a5d17a17
commit 7c4c3419ae
7 changed files with 20 additions and 27 deletions

View File

@@ -286,7 +286,7 @@ class StockHomeState extends State<StockHome> {
AppBar buildSearchBar() {
return AppBar(
leading: BackButton(
color: Theme.of(context).accentColor,
color: Theme.of(context).colorScheme.secondary,
),
title: TextField(
controller: _searchQuery,
@@ -310,7 +310,7 @@ class StockHomeState extends State<StockHome> {
return FloatingActionButton(
tooltip: 'Create company',
child: const Icon(Icons.add),
backgroundColor: Theme.of(context).accentColor,
backgroundColor: Theme.of(context).colorScheme.secondary,
onPressed: _handleCreateCompany,
);
}