GuidesImage constructor
Implementation
const GuidesImage({
required this.imagePath,
required this.caption,
this.spacing,
this.desiredWidthPercent,
this.desiredHeightPercent,
this.onTap,
super.key,
}) : assert(caption.length > 0),
assert(
desiredWidthPercent == null ||
desiredWidthPercent >= 0.0 && desiredWidthPercent <= 1.0,
),
assert(
desiredHeightPercent == null ||
desiredHeightPercent >= 0.0 && desiredHeightPercent <= 1.0,
);