GameTileProps constructor

const GameTileProps({
  1. required String name,
  2. String? iconUrl,
  3. Widget? icon,
  4. bool selected = false,
  5. void onTap()?,
  6. bool popular = false,
  7. String? badge,
  8. String? subtitle,
  9. bool isNew = false,
  10. List<GamePlatform> platforms = const [],
  11. String? href,
  12. bool showHoverEffects = true,
  13. bool showPlatformIcons = true,
  14. String? ctaText,
  15. String? height,
  16. GameTileVariant variant = GameTileVariant.compact,
  17. 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,
});