Skip to content

Commit b099672

Browse files
committed
chore: change ignore: unused_element to ignore: unused_element_parameter
1 parent 300a50a commit b099672

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

snippets/flutter.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"class $1 extends StatelessWidget {",
100100
" /// {@macro $2}",
101101
" const $1({",
102-
" super.key, // ignore: unused_element",
102+
" super.key, // ignore: unused_element_parameter",
103103
" });",
104104
" ",
105105
" @override",
@@ -124,7 +124,7 @@
124124
" /// {@macro $2}",
125125
" const $1({",
126126
" required this.child,",
127-
" super.key, // ignore: unused_element",
127+
" super.key, // ignore: unused_element_parameter",
128128
" });",
129129
" ",
130130
" /// The widget below this widget in the tree.",
@@ -152,7 +152,7 @@
152152
"class ${1} extends StatefulWidget {",
153153
" /// {@macro $2}",
154154
" const ${1}({",
155-
" super.key, // ignore: unused_element",
155+
" super.key, // ignore: unused_element_parameter",
156156
" });",
157157
" ",
158158
" /// The state from the closest instance of this class",
@@ -218,7 +218,7 @@
218218
" /// {@macro $2}",
219219
" const $1({",
220220
" required this.child,",
221-
" super.key, // ignore: unused_element",
221+
" super.key, // ignore: unused_element_parameter",
222222
" });",
223223
" ",
224224
" /// The widget below this widget in the tree.",
@@ -289,7 +289,7 @@
289289
" /// {@macro $2}",
290290
" const ${1}({",
291291
" required super.child,",
292-
" super.key, // ignore: unused_element",
292+
" super.key, // ignore: unused_element_parameter",
293293
" });",
294294
" ",
295295
" @override",

0 commit comments

Comments
 (0)