key

DecoderBufferCallback

decode

async

final

Uint8List

bytes

await

bytesFromSomeApi

();

final

ui

ImmutableBuffer

buffer

await

ui

ImmutableBuffer

fromUint8List

bytes

);

return

decode

buffer

);

class

MyDelegatingProvider

extends

ImageProvider

MyDelegatingProvider

MyDelegatingProvider

this

provider

);

final

ImageProvder

provider

@override