CImage constructor

CImage({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. BoxFit? fit,
  5. String? hero,
  6. required String image,
  7. Border? border,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. dynamic onTap()?,
  11. int? flex,
  12. bool? expanded,
  13. Decoration? decoration,
  14. bool? visible,
  15. double? borderRadius,
  16. Style? style,
  17. Color? backgroundColor,
  18. Alignment? alignment,
  19. String errorImage = '',
  20. 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});