UFUNetworkImage constructor

const UFUNetworkImage({
  1. Key? key,
  2. String? src,
  3. UFUAvatarSize? size,
  4. BoxFit? boxFit = BoxFit.contain,
  5. double? height = double.maxFinite,
  6. double? width = double.maxFinite,
  7. double? borderRadius = 0,
  8. Widget? placeHolder,
})

Implementation

const UFUNetworkImage({
  super.key,
  this.src,
  this.size,
  this.boxFit = BoxFit.contain,
  this.height = double.maxFinite,
  this.width = double.maxFinite,
  this.borderRadius = 0,
  this.placeHolder,
});