decode

return

provider

load

key

decode

);

Code after migration:

class

MyImageProvider

extends

ImageProvider

MyImageProvider

@override

ImageStreamCompleter

loadBuffer

MyImageProvider

key

DecoderBufferCallback

decode

return

MultiFrameImageStreamCompleter

codec:

_loadData

key

decode

),

);

Future

ui

Codec

_loadData

MyImageProvider

key

DecoderBufferCallback

decode