Remove `new` keyword from sample code (#22465)
diff --git a/README.md b/README.md
index 1be7e18..8a47ae9 100644
--- a/README.md
+++ b/README.md
@@ -71,13 +71,13 @@
// build methods fast, so that you can just rebuild anything that
// needs updating rather than having to individually change
// instances of widgets.
- return new Row(
+ return Row(
children: <Widget>[
- new RaisedButton(
+ RaisedButton(
onPressed: increment,
- child: new Text('Increment'),
+ child: Text('Increment'),
),
- new Text('Count: $counter'),
+ Text('Count: $counter'),
],
);
}