BodyAlertImage constructor
const
BodyAlertImage({})
Implementation
const BodyAlertImage({
super.key,
required this.onClose, // Function to call when the close icon is pressed.
this.width, // Optional width for the image.
required this.borderRadius, // Radius for rounding the corners of the image.
required this.path, // Path or URL of the image.
required this.type, // Type of the image source (web, asset, or local file).
required this.closeIconSize, // Size of the close icon.
required this.fit, // BoxFit for the image.
this.loadingColor, // Optional color for the loading indicator.
});