From 0e4cca4f6974a9adec27df186edf2440ee5abdc9 Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Mon, 14 Sep 2020 19:22:06 -0700 Subject: [PATCH] Updated references to obsolete Material button classes in benchmarks/test_apps/stocks (#65799) --- dev/benchmarks/test_apps/stocks/lib/stock_home.dart | 4 ++-- dev/benchmarks/test_apps/stocks/lib/stock_settings.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/benchmarks/test_apps/stocks/lib/stock_home.dart b/dev/benchmarks/test_apps/stocks/lib/stock_home.dart index 48046cdf90..59b675e720 100644 --- a/dev/benchmarks/test_apps/stocks/lib/stock_home.dart +++ b/dev/benchmarks/test_apps/stocks/lib/stock_home.dart @@ -25,7 +25,7 @@ class _NotImplementedDialog extends StatelessWidget { title: const Text('Not Implemented'), content: const Text('This feature has not yet been implemented.'), actions: [ - FlatButton( + TextButton( onPressed: debugDumpApp, child: Row( children: [ @@ -40,7 +40,7 @@ class _NotImplementedDialog extends StatelessWidget { ], ), ), - FlatButton( + TextButton( onPressed: () { Navigator.pop(context, false); }, diff --git a/dev/benchmarks/test_apps/stocks/lib/stock_settings.dart b/dev/benchmarks/test_apps/stocks/lib/stock_settings.dart index aa95ad8165..e059c4c26b 100644 --- a/dev/benchmarks/test_apps/stocks/lib/stock_settings.dart +++ b/dev/benchmarks/test_apps/stocks/lib/stock_settings.dart @@ -72,13 +72,13 @@ class StockSettingsState extends State { title: const Text('Change mode?'), content: const Text('Optimistic mode means everything is awesome. Are you sure you can handle that?'), actions: [ - FlatButton( + TextButton( child: const Text('NO THANKS'), onPressed: () { Navigator.pop(context, false); }, ), - FlatButton( + TextButton( child: const Text('AGREE'), onPressed: () { Navigator.pop(context, true);