GameTileProps constructor
const
GameTileProps({
- 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,
- String? height,
- GameTileVariant variant = GameTileVariant.compact,
- int? animationDelayMs,
Implementation
const GameTileProps({
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,
this.height,
this.variant = GameTileVariant.compact,
this.animationDelayMs,
});