Fix UNUSED_ELEMENT_PARAMETER for field formal initializers. (#4664)

* Fix UNUSED_ELEMENT_PARAMETER for field formal initializers.

* Update pubspec.yaml and CHANGELOG.md
diff --git a/packages/ios_platform_images/CHANGELOG.md b/packages/ios_platform_images/CHANGELOG.md
index 2ebd1d1..443be3f 100644
--- a/packages/ios_platform_images/CHANGELOG.md
+++ b/packages/ios_platform_images/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.2.0+3
+
+* Internal fix for unused field formal parameter.
+
 ## 0.2.0+2
 
 * Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.
diff --git a/packages/ios_platform_images/lib/ios_platform_images.dart b/packages/ios_platform_images/lib/ios_platform_images.dart
index e9bc0b3..856562c 100644
--- a/packages/ios_platform_images/lib/ios_platform_images.dart
+++ b/packages/ios_platform_images/lib/ios_platform_images.dart
@@ -16,21 +16,18 @@
   _FutureImageStreamCompleter({
     required Future<ui.Codec> codec,
     required this.futureScale,
-    this.informationCollector,
   }) {
     codec.then<void>(_onCodecReady, onError: (dynamic error, StackTrace stack) {
       reportError(
         context: ErrorDescription('resolving a single-frame image stream'),
         exception: error,
         stack: stack,
-        informationCollector: informationCollector,
         silent: true,
       );
     });
   }
 
   final Future<double> futureScale;
-  final InformationCollector? informationCollector;
 
   Future<void> _onCodecReady(ui.Codec codec) async {
     try {
@@ -42,7 +39,6 @@
         context: ErrorDescription('resolving an image frame'),
         exception: exception,
         stack: stack,
-        informationCollector: this.informationCollector,
         silent: true,
       );
     }
diff --git a/packages/ios_platform_images/pubspec.yaml b/packages/ios_platform_images/pubspec.yaml
index adc8dc0..010bd41 100644
--- a/packages/ios_platform_images/pubspec.yaml
+++ b/packages/ios_platform_images/pubspec.yaml
@@ -2,7 +2,7 @@
 description: A plugin to share images between Flutter and iOS in add-to-app setups.
 repository: https://github.com/flutter/plugins/tree/master/packages/ios_platform_images
 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+ios_platform_images%22
-version: 0.2.0+2
+version: 0.2.0+3
 
 environment:
   sdk: ">=2.14.0 <3.0.0"