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

Commit 4479e26

Browse files
authored
[ios_platform_images] Ignore ImageProvider.load deprecation. (#5701)
1 parent 298a26d commit 4479e26

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/ios_platform_images/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.2.0+7
2+
3+
* Ignores the warning for the upcoming deprecation of `ImageProvider.load`.
4+
15
## 0.2.0+6
26

37
* Removes unnecessary imports.

packages/ios_platform_images/lib/ios_platform_images.dart

+2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> {
6363
}
6464

6565
/// See [ImageProvider.load].
66+
// TODO(jmagman): Implement the new API once it lands, https://github.com/flutter/flutter/issues/103556
6667
@override
68+
// ignore:deprecated_member_use
6769
ImageStreamCompleter load(_FutureMemoryImage key, DecoderCallback decode) {
6870
return _FutureImageStreamCompleter(
6971
codec: _loadAsync(key, decode),

packages/ios_platform_images/pubspec.yaml

+1-1
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/main/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+6
5+
version: 0.2.0+7
66

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

0 commit comments

Comments
 (0)