Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Fix UNUSED_ELEMENT_PARAMETER for unused field formal initializers. #585

Merged
merged 3 commits into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions lib/codeviewer/code_segments.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32838,11 +32838,6 @@ class CodeSegments {
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
TextSpan(style: codeStyle.keywordStyle, text: 'this'),
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
TextSpan(style: codeStyle.baseStyle, text: 'width'),
TextSpan(style: codeStyle.punctuationStyle, text: ','),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
TextSpan(style: codeStyle.keywordStyle, text: 'this'),
TextSpan(style: codeStyle.punctuationStyle, text: '.'),
TextSpan(style: codeStyle.baseStyle, text: 'height'),
TextSpan(style: codeStyle.punctuationStyle, text: ','),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
Expand All @@ -32862,12 +32857,6 @@ class CodeSegments {
TextSpan(style: codeStyle.keywordStyle, text: 'final'),
TextSpan(style: codeStyle.baseStyle, text: ' '),
TextSpan(style: codeStyle.keywordStyle, text: 'double'),
TextSpan(style: codeStyle.baseStyle, text: ' width'),
TextSpan(style: codeStyle.punctuationStyle, text: ';'),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
TextSpan(style: codeStyle.keywordStyle, text: 'final'),
TextSpan(style: codeStyle.baseStyle, text: ' '),
TextSpan(style: codeStyle.keywordStyle, text: 'double'),
TextSpan(style: codeStyle.baseStyle, text: ' height'),
TextSpan(style: codeStyle.punctuationStyle, text: ';'),
TextSpan(style: codeStyle.baseStyle, text: '\u000a '),
Expand Down Expand Up @@ -32896,10 +32885,6 @@ class CodeSegments {
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
TextSpan(style: codeStyle.baseStyle, text: ' height'),
TextSpan(style: codeStyle.punctuationStyle, text: ','),
TextSpan(style: codeStyle.baseStyle, text: '\u000a width'),
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
TextSpan(style: codeStyle.baseStyle, text: ' width'),
TextSpan(style: codeStyle.punctuationStyle, text: ','),
TextSpan(style: codeStyle.baseStyle, text: '\u000a child'),
TextSpan(style: codeStyle.punctuationStyle, text: ':'),
TextSpan(style: codeStyle.baseStyle, text: ' '),
Expand Down
3 changes: 0 additions & 3 deletions lib/demos/reference/motion_demo_container_transition.dart
Original file line number Diff line number Diff line change
Expand Up @@ -509,21 +509,18 @@ class _DetailsListTile extends StatelessWidget {
class _InkWellOverlay extends StatelessWidget {
const _InkWellOverlay({
this.openContainer,
this.width,
this.height,
this.child,
});

final VoidCallback openContainer;
final double width;
final double height;
final Widget child;

@override
Widget build(BuildContext context) {
return SizedBox(
height: height,
width: width,
child: InkWell(
onTap: openContainer,
child: child,
Expand Down
4 changes: 0 additions & 4 deletions lib/pages/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -424,14 +424,10 @@ class _AnimateSettingsListItems extends StatelessWidget {
Key key,
this.animation,
this.children,
this.topPadding,
this.bottomPadding,
}) : super(key: key);

final Animation<double> animation;
final List<Widget> children;
final double topPadding;
final double bottomPadding;

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 0 additions & 2 deletions lib/studies/reply/adaptive_nav.dart
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ class _DesktopNav extends StatefulWidget {
const _DesktopNav({
Key key,
this.inboxKey,
this.currentInbox,
this.extended,
this.destinations,
this.folders,
Expand All @@ -152,7 +151,6 @@ class _DesktopNav extends StatefulWidget {

final bool extended;
final UniqueKey inboxKey;
final String currentInbox;
final List<_Destination> destinations;
final Map<String, String> folders;
final void Function(int, MailboxPageType) onItemTapped;
Expand Down