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);