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