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

Commit 3638e67

Browse files
authored
Fix UNUSED_ELEMENT_PARAMETER for field formal initializers. (#4664)
* Fix UNUSED_ELEMENT_PARAMETER for field formal initializers. * Update pubspec.yaml and CHANGELOG.md
1 parent 07f48a6 commit 3638e67

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/ios_platform_images/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0+3
2+
3+
* Internal fix for unused field formal parameter.
4+
15
## 0.2.0+2
26

37
* Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.

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
}

packages/ios_platform_images/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: ios_platform_images
22
description: A plugin to share images between Flutter and iOS in add-to-app setups.
33
repository: https://github.com/flutter/plugins/tree/master/packages/ios_platform_images
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+ios_platform_images%22
5-
version: 0.2.0+2
5+
version: 0.2.0+3
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)