From 30aee417be361cb5a651a356698d4bcfa37674c1 Mon Sep 17 00:00:00 2001 From: David Iglesias Teixeira Date: Thu, 12 May 2022 15:36:27 -0700 Subject: [PATCH 1/2] [ios_platform_images] ignore the right line --- packages/ios_platform_images/lib/ios_platform_images.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ios_platform_images/lib/ios_platform_images.dart b/packages/ios_platform_images/lib/ios_platform_images.dart index 6a85ea0d189b..1c5b4b817f40 100644 --- a/packages/ios_platform_images/lib/ios_platform_images.dart +++ b/packages/ios_platform_images/lib/ios_platform_images.dart @@ -62,10 +62,10 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> { return SynchronousFuture<_FutureMemoryImage>(this); } + // ignore:deprecated_member_use /// See [ImageProvider.load]. // TODO(jmagman): Implement the new API once it lands, https://github.com/flutter/flutter/issues/103556 @override - // ignore:deprecated_member_use ImageStreamCompleter load(_FutureMemoryImage key, DecoderCallback decode) { return _FutureImageStreamCompleter( codec: _loadAsync(key, decode), From 86bdcd62efb4161942d0d2e3f38686fe19fee4eb Mon Sep 17 00:00:00 2001 From: David Iglesias Teixeira Date: Thu, 12 May 2022 15:38:19 -0700 Subject: [PATCH 2/2] Bump CHANGELOG and pubspec. --- packages/ios_platform_images/CHANGELOG.md | 4 ++++ packages/ios_platform_images/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ios_platform_images/CHANGELOG.md b/packages/ios_platform_images/CHANGELOG.md index d432bdb7ee8e..ee8e96132fea 100644 --- a/packages/ios_platform_images/CHANGELOG.md +++ b/packages/ios_platform_images/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.0+8 + +* Ignores the warning for the upcoming deprecation of `ImageProvider.load` in the correct line. + ## 0.2.0+7 * Ignores the warning for the upcoming deprecation of `ImageProvider.load`. diff --git a/packages/ios_platform_images/pubspec.yaml b/packages/ios_platform_images/pubspec.yaml index ddc02e6235db..4ff67ee137b4 100644 --- a/packages/ios_platform_images/pubspec.yaml +++ b/packages/ios_platform_images/pubspec.yaml @@ -2,7 +2,7 @@ name: ios_platform_images description: A plugin to share images between Flutter and iOS in add-to-app setups. repository: https://github.com/flutter/plugins/tree/main/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+7 +version: 0.2.0+8 environment: sdk: ">=2.14.0 <3.0.0"