Skip to content

Remove uses of DecoderBufferCallback #143880

@ditman

Description

@ditman

The package ios_platform_images is complaining about using a deprecated API, and suggesting a workaround:

Analyzing ios_platform_images...       3.2s

   info • lib/ios_platform_images.dart:74:5 • 'DecoderBufferCallback' is deprecated and shouldn't be
          used. Use ImageDecoderCallback with ImageProvider.loadImage instead. This feature was deprecated
          after v3.7.0-1.4.pre. Try replacing the use of the deprecated member with the replacement. •
          deprecated_member_use
   info • lib/ios_platform_images.dart:84:5 • 'DecoderBufferCallback' is deprecated and shouldn't be
          used. Use ImageDecoderCallback with ImageProvider.loadImage instead. This feature was deprecated
          after v3.7.0-1.4.pre. Try replacing the use of the deprecated member with the replacement. •
          deprecated_member_use

2 issues found.

Metadata

Metadata

Labels

P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.p: deprecated apiUse of a deprecated Dart API in flutter/packages that needs to be updatedp: ios_platform_imagesPlugin for loading images from the native bundlepackageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions