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