const CardWithImage( {required this.text, required this.imageUrl, required this.subtitle, super.key, required this.index});