From 3e6384b4f1e847b003a2462dc26e946a9b9edefd Mon Sep 17 00:00:00 2001 From: Hans Muller Date: Wed, 16 Sep 2020 14:10:51 -0700 Subject: [PATCH] Updated references to obsolete Material button classes in microbenchmarks (#65950) --- .../microbenchmarks/lib/gestures/apps/button_matrix_app.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart b/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart index 52a763b4a9..25cef0cd98 100644 --- a/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart +++ b/dev/benchmarks/microbenchmarks/lib/gestures/apps/button_matrix_app.dart @@ -21,7 +21,7 @@ class ButtonMatrixAppState extends State { appBar: AppBar( title: Text('Count: $count'), actions: [ - FlatButton( + TextButton( onPressed: () => setState(() { count += increment; }), child: Text('Add $increment'), ), @@ -34,7 +34,7 @@ class ButtonMatrixAppState extends State { Column( children: List.filled( 10, - FlatButton( + TextButton( child: const Text('Faster'), onPressed: () => setState(() { increment += 1; }), ),