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