localImage method

Widget localImage({
  1. required String alias,
  2. double? width,
  3. double? height,
  4. BoxFit fit = BoxFit.scaleDown,
  5. BorderRadius? borderRadius,
  6. Color? backgroundColor,
})

Implementation

Widget localImage(
    {required String alias,
    double? width,
    double? height,
    BoxFit fit = BoxFit.scaleDown,
    BorderRadius? borderRadius,
    Color? backgroundColor}) {
  return _ImageLoadProvider.loadLocalImage(alias, width ?? 0, height ?? 0, fit, borderRadius ?? BorderRadius.zero,
      backgroundColor ?? Colors.transparent, _imageConfig);
}