PremiumMatchCard constructor

const PremiumMatchCard({
  1. Key? key,
  2. required MatchModel match,
  3. String? getPlayerName(
    1. dynamic
    )?,
  4. String? getPlayerFlag(
    1. dynamic
    )?,
  5. int? getPlayerElo(
    1. dynamic
    )?,
  6. bool getPlayerCheckIn(
    1. dynamic
    )?,
  7. bool getPlayerWalkOver(
    1. dynamic
    )?,
  8. Color primaryColor = const Color(0xFF0066FF),
  9. Color secondaryColor = const Color(0xFF00E5FF),
  10. Color surfaceColor = const Color(0xFF131A30),
  11. Color accentColor = const Color(0xFFFFB300),
  12. Color disputeColor = const Color(0xFFFF3366),
  13. VoidCallback? onTap,
})

Implementation

const PremiumMatchCard({
  super.key,
  required this.match,
  this.getPlayerName,
  this.getPlayerFlag,
  this.getPlayerElo,
  this.getPlayerCheckIn,
  this.getPlayerWalkOver,
  this.primaryColor = const Color(0xFF0066FF),
  this.secondaryColor = const Color(0xFF00E5FF),
  this.surfaceColor = const Color(0xFF131A30),
  this.accentColor = const Color(0xFFFFB300),
  this.disputeColor = const Color(0xFFFF3366),
  this.onTap,
});