newInstance static method

BitmapRegionDecoder newInstance(
  1. Uint8List data
)

@brief Method is used to create instance of BitmapRegionDecoder @param data raw image data (could be raw svg string) @return nstance of decoder, which could be used for decoding byte array to bitmap.

Dart code snippet: @snippet bitmap_region_decoder_example.dart dart_BitmapRegionDecoder_newInstance

Implementation

static BitmapRegionDecoder newInstance(Uint8List data) => $prototype.newInstance(data);