Unverified Commit 3e6384b4 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated references to obsolete Material button classes in microbenchmarks (#65950)

parent bb2ab883
......@@ -21,7 +21,7 @@ class ButtonMatrixAppState extends State<ButtonMatrixApp> {
appBar: AppBar(
title: Text('Count: $count'),
actions: <Widget>[
FlatButton(
TextButton(
onPressed: () => setState(() { count += increment; }),
child: Text('Add $increment'),
),
......@@ -34,7 +34,7 @@ class ButtonMatrixAppState extends State<ButtonMatrixApp> {
Column(
children: List<Widget>.filled(
10,
FlatButton(
TextButton(
child: const Text('Faster'),
onPressed: () => setState(() { increment += 1; }),
),
......
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