ImageProviderExt extension

Extension methods for the ImageProvider class.

on

Methods

getImageDetails({ImageByteFormat format = ImageByteFormat.rawRgba}) Future<ImageDetail>
Returns the image dimensions.
toByteBuffer(BuildContext context, {ImageByteFormat format = ImageByteFormat.rawRgba}) Future<ByteBuffer?>
Converts the image to a ByteBuffer.