Skip to content

Make ImageProvider.loadImage() abstract #119209

@tvolkert

Description

@tvolkert

In #118966, we added ImageProvider.loadImage(). This method should be abstract in ImageProvider, but due to the need for backwards compatibility, it was made as a non-abstract method to allow subclasses time to migrate.

Once the deprecation period for the old method (loadBuffer()) is over and that method is removed, the base ImageProvider.loadImage() should be made abstract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: imagesLoading, displaying, rendering imagesc: tech-debtTechnical debt, code quality, testing, etc.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions