Updated references to obsolete Material button classes in benchmarks/test_apps/stocks (#65799)
This commit is contained in:
parent
d674fdf8f5
commit
0e4cca4f69
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user