Make ImageProvider.loadImage() abstract #119209
Labels
a: images
Loading, displaying, rendering images
c: tech-debt
Technical debt, code quality, testing, etc.
framework
flutter/packages/flutter repository. See also f: labels.
P3
Issues that are less important to the Flutter project
team-framework
Owned by Framework team
triaged-framework
Triaged by Framework team
Uh oh!
There was an error while loading. Please reload this page.
In #118966, we added
ImageProvider.loadImage()
. This method should be abstract inImageProvider
, 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 baseImageProvider.loadImage()
should be made abstract.The text was updated successfully, but these errors were encountered: