mipmap static method

Future<Uint8List?> mipmap(
  1. String name, {
  2. double? width,
  3. double? height,
  4. double? scale,
  5. Brightness? brightness,
})

Android res/mipmap image named name. Returns null on iOS.

Implementation

static Future<Uint8List?> mipmap(
  String name, {
  double? width,
  double? height,
  double? scale,
  Brightness? brightness,
}) {
  return load(
    NativeImageType.mipmap,
    name,
    width: width,
    height: height,
    scale: scale,
    brightness: brightness,
  );
}