Unverified Commit 0e4cca4f authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated references to obsolete Material button classes in benchmarks/test_apps/stocks (#65799)

parent d674fdf8
...@@ -25,7 +25,7 @@ class _NotImplementedDialog extends StatelessWidget { ...@@ -25,7 +25,7 @@ class _NotImplementedDialog extends StatelessWidget {
title: const Text('Not Implemented'), title: const Text('Not Implemented'),
content: const Text('This feature has not yet been implemented.'), content: const Text('This feature has not yet been implemented.'),
actions: <Widget>[ actions: <Widget>[
FlatButton( TextButton(
onPressed: debugDumpApp, onPressed: debugDumpApp,
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
...@@ -40,7 +40,7 @@ class _NotImplementedDialog extends StatelessWidget { ...@@ -40,7 +40,7 @@ class _NotImplementedDialog extends StatelessWidget {
], ],
), ),
), ),
FlatButton( TextButton(
onPressed: () { onPressed: () {
Navigator.pop(context, false); Navigator.pop(context, false);
}, },
......
...@@ -72,13 +72,13 @@ class StockSettingsState extends State<StockSettings> { ...@@ -72,13 +72,13 @@ class StockSettingsState extends State<StockSettings> {
title: const Text('Change mode?'), title: const Text('Change mode?'),
content: const Text('Optimistic mode means everything is awesome. Are you sure you can handle that?'), content: const Text('Optimistic mode means everything is awesome. Are you sure you can handle that?'),
actions: <Widget>[ actions: <Widget>[
FlatButton( TextButton(
child: const Text('NO THANKS'), child: const Text('NO THANKS'),
onPressed: () { onPressed: () {
Navigator.pop(context, false); Navigator.pop(context, false);
}, },
), ),
FlatButton( TextButton(
child: const Text('AGREE'), child: const Text('AGREE'),
onPressed: () { onPressed: () {
Navigator.pop(context, true); Navigator.pop(context, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment