assetImage static method

Image assetImage(
  1. String name, {
  2. Key? key,
  3. double? scale,
  4. double? width,
  5. double? height,
  6. double? size,
  7. BoxFit? fit,
  8. Color? color,
})

Implementation

static Image assetImage(
  String name, {
  Key? key,
  double? scale,
  double? width,
  double? height,
  double? size,
  BoxFit? fit,
  Color? color,
}) {
  return Image.asset(
    name,
    key: key,
    scale: scale,
    width: size ?? width,
    height: size ?? height,
    color: color,
    fit: fit,
    package: LiveSdkManager.package,
  );
}