ImageX constructor

const ImageX({
  1. Key? key,
  2. required ImageType type,
  3. required String image,
  4. double? radius,
  5. double? width,
  6. double? height,
  7. BoxFit? fit,
  8. Widget? placeholder,
  9. Color? backgroundColor,
  10. Widget builder(
    1. BuildContext context,
    2. ImageProvider<Object> provider,
    3. Widget completed,
    4. Size? size,
    )?,
  11. String? package,
})

Implementation

const ImageX({
  super.key,
  required this.type,
  required this.image,
  this.radius,
  this.width,
  this.height,
  this.fit,
  this.placeholder,
  this.backgroundColor,
  this.builder,
  this.package,
});