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 {
title: const Text('Not Implemented'),
content: const Text('This feature has not yet been implemented.'),
actions: <Widget>[
FlatButton(
TextButton(
onPressed: debugDumpApp,
child: Row(
children: <Widget>[
......@@ -40,7 +40,7 @@ class _NotImplementedDialog extends StatelessWidget {
],
),
),
FlatButton(
TextButton(
onPressed: () {
Navigator.pop(context, false);
},
......
......@@ -72,13 +72,13 @@ class StockSettingsState extends State<StockSettings> {
title: const Text('Change mode?'),
content: const Text('Optimistic mode means everything is awesome. Are you sure you can handle that?'),
actions: <Widget>[
FlatButton(
TextButton(
child: const Text('NO THANKS'),
onPressed: () {
Navigator.pop(context, false);
},
),
FlatButton(
TextButton(
child: const Text('AGREE'),
onPressed: () {
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