uint32List method

Future<Uint32List?> uint32List({
  1. ImageByteFormat format = ImageByteFormat.rawRgba,
})

Get the Uint8List data of the image.

Implementation

Future<Uint32List?> uint32List(
    {ImageByteFormat format = ImageByteFormat.rawRgba}) async {
  final ByteData? byteData = await toByteData(format: format);
  return byteData?.buffer.asUint32List();
}