loadImage function

Widget loadImage(
  1. String imageUrl, {
  2. BoxFit fit = BoxFit.cover,
  3. double? width,
  4. double? height,
  5. Widget? placeHolder,
  6. Widget? errorWidget,
})

Implementation

Widget loadImage(String imageUrl, {BoxFit fit = BoxFit.cover, double? width, double? height, Widget? placeHolder, Widget? errorWidget}){
  return NUIImageUtil.loadImage(imageUrl, width: width, height:height, placeHolder: placeHolder, errorWidget: errorWidget, fit: fit);
}