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

Commit 287af0f

Browse files
author
Jonah Williams
authored
[ios_platform_images] ignore DecoderCallback deprecation (#5806)
1 parent 2ec0a97 commit 287af0f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
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+9
2+
3+
* Ignores the warning for the upcoming deprecation of `DecoderCallback`.
4+
15
## 0.2.0+8
26

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

packages/ios_platform_images/lib/ios_platform_images.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> {
6666
/// See [ImageProvider.load].
6767
// TODO(jmagman): Implement the new API once it lands, https://github.com/flutter/flutter/issues/103556
6868
@override
69+
// ignore: deprecated_member_use
6970
ImageStreamCompleter load(_FutureMemoryImage key, DecoderCallback decode) {
7071
return _FutureImageStreamCompleter(
7172
codec: _loadAsync(key, decode),
@@ -75,6 +76,7 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> {
7576

7677
Future<ui.Codec> _loadAsync(
7778
_FutureMemoryImage key,
79+
// ignore: deprecated_member_use
7880
DecoderCallback decode,
7981
) async {
8082
assert(key == this);

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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy