GameTileProps.card constructor
const
GameTileProps.card({
- required String name,
- String? iconUrl,
- Widget? icon,
- bool selected = false,
- void onTap()?,
- bool popular = false,
- String? badge,
- String? subtitle,
- bool isNew = false,
- List<
GamePlatform> platforms = const [], - String? href,
- bool showHoverEffects = true,
- bool showPlatformIcons = true,
- String? ctaText = 'Get Started',
- String? height = '420px',
- int? animationDelayMs,
Creates a card-style game tile with image and info sections.
Implementation
const GameTileProps.card({
required this.name,
this.iconUrl,
this.icon,
this.selected = false,
this.onTap,
this.popular = false,
this.badge,
this.subtitle,
this.isNew = false,
this.platforms = const [],
this.href,
this.showHoverEffects = true,
this.showPlatformIcons = true,
this.ctaText = 'Get Started',
this.height = '420px',
this.animationDelayMs,
}) : variant = GameTileVariant.card;