UImage constructor

const UImage(
  1. String source, {
  2. Key? key,
  3. FileData? fileData,
  4. Color? color,
  5. double? width,
  6. double? height,
  7. String? placeholder,
  8. ProgressIndicatorBuilder? progressIndicatorBuilder,
  9. BoxFit fit = BoxFit.contain,
  10. double borderRadius = 1,
  11. BoxBorder? border,
})

Implementation

const UImage(
  this.source, {
  super.key,
  this.fileData,
  this.color,
  this.width,
  this.height,
  this.placeholder,
  this.progressIndicatorBuilder,
  this.fit = BoxFit.contain,
  this.borderRadius = 1,
  this.border,
});