From 6c8c824e281be567d7c5e465199c9985fa665064 Mon Sep 17 00:00:00 2001 From: Darshan Baid Date: Tue, 3 Apr 2018 20:51:18 +0530 Subject: [PATCH] Updated color to use theme accentColor (#16079) --- examples/stocks/lib/stock_home.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stocks/lib/stock_home.dart b/examples/stocks/lib/stock_home.dart index 4ff6cbf89e..c90d4bf3fe 100644 --- a/examples/stocks/lib/stock_home.dart +++ b/examples/stocks/lib/stock_home.dart @@ -307,7 +307,7 @@ class StockHomeState extends State { return new FloatingActionButton( tooltip: 'Create company', child: const Icon(Icons.add), - backgroundColor: Colors.redAccent, + backgroundColor: Theme.of(context).accentColor, onPressed: _handleCreateCompany, ); }