assetRaw static method

Image assetRaw(
  1. String name, {
  2. double? width,
  3. double? height,
  4. Color? color,
})

Implementation

static Image assetRaw(String name,
    {double? width, double? height, Color? color}) {
  String asset = _assetsNamesMap[name] ?? "";
  return Image.asset(
    asset,
    height: height,
    width: width,
    color: color,
  );
}