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

[ios_platform_images] Ignore ImageProvider.load deprecation. #5701

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/ios_platform_images/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.2.0+7

* Ignore deprecation of `load` method in [ImageProvider] so it can be
ditman marked this conversation as resolved.
Show resolved Hide resolved
deprecated at the framework level, without breaking CI.
ditman marked this conversation as resolved.
Show resolved Hide resolved

## 0.2.0+6

* Removes unnecessary imports.
Expand Down
1 change: 1 addition & 0 deletions packages/ios_platform_images/lib/ios_platform_images.dart
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class _FutureMemoryImage extends ImageProvider<_FutureMemoryImage> {

/// See [ImageProvider.load].
@override
// ignore:deprecated_member_use
ditman marked this conversation as resolved.
Show resolved Hide resolved
ImageStreamCompleter load(_FutureMemoryImage key, DecoderCallback decode) {
return _FutureImageStreamCompleter(
codec: _loadAsync(key, decode),
Expand Down
2 changes: 1 addition & 1 deletion packages/ios_platform_images/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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+6
version: 0.2.0+7

environment:
sdk: ">=2.14.0 <3.0.0"
Expand Down