Skip to content

Commit 885be9a

Browse files
authored
[ios_platform_images] Ignore ImageProvider.load deprecation (flutter#5707)
1 parent 3d995d4 commit 885be9a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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+8
2+
3+
* Ignores the warning for the upcoming deprecation of `ImageProvider.load` in the correct line.
4+
15
## 0.2.0+7
26

37
* Ignores the warning for the upcoming deprecation of `ImageProvider.load`.

packages/ios_platform_images/lib/ios_platform_images.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> {
6262
return SynchronousFuture<_FutureMemoryImage>(this);
6363
}
6464

65+
// ignore:deprecated_member_use
6566
/// See [ImageProvider.load].
6667
// TODO(jmagman): Implement the new API once it lands, https://github.com/flutter/flutter/issues/103556
6768
@override
68-
// ignore:deprecated_member_use
6969
ImageStreamCompleter load(_FutureMemoryImage key, DecoderCallback decode) {
7070
return _FutureImageStreamCompleter(
7171
codec: _loadAsync(key, decode),

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/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+7
5+
version: 0.2.0+8
66

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

0 commit comments

Comments
 (0)