Skip to content

Commit 475d93a

Browse files
abhijeethpjonahwilliams
authored andcommitted
Removes unnecessary "new" in documentation (flutter#29779)
1 parent e2cd593 commit 475d93a

File tree

1 file changed

+2
-2
lines changed
  • packages/flutter_localizations/lib/src/l10n

1 file changed

+2
-2
lines changed

packages/flutter_localizations/lib/src/l10n/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class. For example:
4141

4242
```dart
4343
Widget build(BuildContext context) {
44-
return new FlatButton(
45-
child: new Text(
44+
return FlatButton(
45+
child: Text(
4646
MaterialLocalizations.of(context).cancelButtonLabel,
4747
),
4848
);

0 commit comments

Comments
 (0)