SoftUiImage constructor

const SoftUiImage({
  1. required ImageProvider<Object> image,
  2. double aspectRatio = 1 / 1,
  3. BoxFit fit = BoxFit.cover,
  4. double? width,
  5. double? height,
  6. BorderRadius? borderRadius,
  7. Key? key,
})

Implementation

const SoftUiImage({
  required this.image,
  this.aspectRatio = 1 / 1,
  this.fit = BoxFit.cover,
  this.width,
  this.height,
  this.borderRadius,
  super.key,
});