Commit 475d93a1 authored by Abhijeeth Padarthi's avatar Abhijeeth Padarthi Committed by Jonah Williams

Removes unnecessary "new" in documentation (#29779)

parent e2cd5931
......@@ -41,8 +41,8 @@ class. For example:
```dart
Widget build(BuildContext context) {
return new FlatButton(
child: new Text(
return FlatButton(
child: Text(
MaterialLocalizations.of(context).cancelButtonLabel,
),
);
......
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