UImageAsset constructor

const UImageAsset(
  1. String path, {
  2. Color? color,
  3. String? placeholder,
  4. double? width,
  5. double? height,
  6. BoxFit fit = BoxFit.contain,
  7. Clip clipBehavior = Clip.hardEdge,
  8. double borderRadius = 1,
  9. String? package,
  10. Key? key,
})

Implementation

const UImageAsset(
  this.path, {
  this.color,
  this.placeholder,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  this.clipBehavior = Clip.hardEdge,
  this.borderRadius = 1,
  this.package,
  super.key,
});