|
99 | 99 | "class $1 extends StatelessWidget {", |
100 | 100 | " /// {@macro $2}", |
101 | 101 | " const $1({", |
102 | | - " super.key, // ignore: unused_element", |
| 102 | + " super.key, // ignore: unused_element_parameter", |
103 | 103 | " });", |
104 | 104 | " ", |
105 | 105 | " @override", |
|
124 | 124 | " /// {@macro $2}", |
125 | 125 | " const $1({", |
126 | 126 | " required this.child,", |
127 | | - " super.key, // ignore: unused_element", |
| 127 | + " super.key, // ignore: unused_element_parameter", |
128 | 128 | " });", |
129 | 129 | " ", |
130 | 130 | " /// The widget below this widget in the tree.", |
|
152 | 152 | "class ${1} extends StatefulWidget {", |
153 | 153 | " /// {@macro $2}", |
154 | 154 | " const ${1}({", |
155 | | - " super.key, // ignore: unused_element", |
| 155 | + " super.key, // ignore: unused_element_parameter", |
156 | 156 | " });", |
157 | 157 | " ", |
158 | 158 | " /// The state from the closest instance of this class", |
|
218 | 218 | " /// {@macro $2}", |
219 | 219 | " const $1({", |
220 | 220 | " required this.child,", |
221 | | - " super.key, // ignore: unused_element", |
| 221 | + " super.key, // ignore: unused_element_parameter", |
222 | 222 | " });", |
223 | 223 | " ", |
224 | 224 | " /// The widget below this widget in the tree.", |
|
289 | 289 | " /// {@macro $2}", |
290 | 290 | " const ${1}({", |
291 | 291 | " required super.child,", |
292 | | - " super.key, // ignore: unused_element", |
| 292 | + " super.key, // ignore: unused_element_parameter", |
293 | 293 | " });", |
294 | 294 | " ", |
295 | 295 | " @override", |
|
0 commit comments