KinGradientCard constructor
const
KinGradientCard({
- Key? key,
- required String title,
- required List<
Color> gradient, - String? subtitle,
- String? category,
- IconData? categoryIcon,
- IconData? centerIcon,
- double? rating,
- String? reviews,
- bool showFavorite = true,
- bool isFavorite = false,
- VoidCallback? onFavoriteTap,
- VoidCallback? onTap,
- double borderRadius = 28,
- bool compact = false,
Implementation
const KinGradientCard({
super.key,
required this.title,
required this.gradient,
this.subtitle,
this.category,
this.categoryIcon,
this.centerIcon,
this.rating,
this.reviews,
this.showFavorite = true,
this.isFavorite = false,
this.onFavoriteTap,
this.onTap,
this.borderRadius = 28,
this.compact = false,
});