UImageAsset constructor

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

Implementation

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