CImage constructor
CImage({
- Key? key,
- double? width,
- double? height,
- BoxFit? fit,
- String? hero,
- required String image,
- Border? border,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- dynamic onTap()?,
- int? flex,
- bool? expanded,
- Decoration? decoration,
- bool? visible,
- double? borderRadius,
- Style? style,
- Color? backgroundColor,
- Alignment? alignment,
- String errorImage = '',
- String? tag,
Implementation
CImage(
{super.key,
super.width,
super.height,
this.fit,
this.hero,
required this.image,
super.border,
super.margin,
super.padding,
super.onTap,
super.flex,
super.expanded,
super.decoration,
super.visible,
super.borderRadius,
super.style,
super.backgroundColor,
super.alignment,
this.errorImage = '',
super.tag});