commit | 475d93a172591152500790134f9f6da3d45440ee | [log] [tgz] |
---|---|---|
author | Abhijeeth Padarthi <rkinabhi@gmail.com> | Fri Mar 22 11:29:05 2019 +0530 |
committer | Jonah Williams <jonahwilliams@google.com> | Thu Mar 21 22:59:05 2019 -0700 |
tree | ae0bf0aad78a056c3a0353e416528af41747505f | |
parent | e2cd5931a7f445c5584c8dafd587d79f17c6a584 [diff] |
Removes unnecessary "new" in documentation (#29779)
diff --git a/packages/flutter_localizations/lib/src/l10n/README.md b/packages/flutter_localizations/lib/src/l10n/README.md index 8998bad..bcd4cdb 100644 --- a/packages/flutter_localizations/lib/src/l10n/README.md +++ b/packages/flutter_localizations/lib/src/l10n/README.md
@@ -41,8 +41,8 @@ ```dart Widget build(BuildContext context) { - return new FlatButton( - child: new Text( + return FlatButton( + child: Text( MaterialLocalizations.of(context).cancelButtonLabel, ), );