Removes unnecessary "new" in documentation (#29779)
This commit is contained in:
parent
e2cd5931a7
commit
475d93a172
@ -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,
|
||||
),
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user