SoftUiImage constructor
const
SoftUiImage({
- required ImageProvider<
Object> image, - double aspectRatio = 1 / 1,
- BoxFit fit = BoxFit.cover,
- double? width,
- double? height,
- BorderRadius? borderRadius,
- Key? key,
Implementation
const SoftUiImage({
required this.image,
this.aspectRatio = 1 / 1,
this.fit = BoxFit.cover,
this.width,
this.height,
this.borderRadius,
super.key,
});