Image constructor
Image({
- required ImageProvider image,
- int? width,
- int? height,
- BoxFit fit = BoxFit.contain,
- ImageRenderMode renderMode = ImageRenderMode.unicodeBlocks,
- Widget? placeholder,
- Widget? errorWidget,
- Key? key,
Implementation
Image({
required this.image,
this.width,
this.height,
this.fit = BoxFit.contain,
this.renderMode = ImageRenderMode.unicodeBlocks,
this.placeholder,
this.errorWidget,
super.key,
});