diff --git a/README.md b/README.md index 1be7e18bf1..8a47ae944d 100644 --- a/README.md +++ b/README.md @@ -71,13 +71,13 @@ class CounterState extends State { // 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: [ - new RaisedButton( + RaisedButton( onPressed: increment, - child: new Text('Increment'), + child: Text('Increment'), ), - new Text('Count: $counter'), + Text('Count: $counter'), ], ); }