decodeBlurHash function
Deprecated. Please use BlurHash.decode and BlurHash.toImage instead. Decode a BlurHash to raw pixels in RGBA32 format
Implementation
@Deprecated('Use [BlurHash.decode] instead.')
Uint8List decodeBlurHash(
String blurHash,
int width,
int height, {
double punch = 1.0,
}) {
final hash = BlurHash.decode(blurHash, punch: punch);
return hash.toImage(width, height).getBytes();
}