Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 923cb0d

Browse files
committed
Fix UNUSED_ELEMENT_PARAMETER for field formal initializers.
1 parent ec80d34 commit 923cb0d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/ios_platform_images/lib/ios_platform_images.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@ class _FutureImageStreamCompleter extends ImageStreamCompleter {
1616
_FutureImageStreamCompleter({
1717
required Future<ui.Codec> codec,
1818
required this.futureScale,
19-
this.informationCollector,
2019
}) {
2120
codec.then<void>(_onCodecReady, onError: (dynamic error, StackTrace stack) {
2221
reportError(
2322
context: ErrorDescription('resolving a single-frame image stream'),
2423
exception: error,
2524
stack: stack,
26-
informationCollector: informationCollector,
2725
silent: true,
2826
);
2927
});
3028
}
3129

3230
final Future<double> futureScale;
33-
final InformationCollector? informationCollector;
3431

3532
Future<void> _onCodecReady(ui.Codec codec) async {
3633
try {
@@ -42,7 +39,6 @@ class _FutureImageStreamCompleter extends ImageStreamCompleter {
4239
context: ErrorDescription('resolving an image frame'),
4340
exception: exception,
4441
stack: stack,
45-
informationCollector: this.informationCollector,
4642
silent: true,
4743
);
4844
}

0 commit comments

Comments
 (0)