PremiumMatchCard constructor
const
PremiumMatchCard({
- Key? key,
- required MatchModel match,
- String? getPlayerName(
- dynamic
- String? getPlayerFlag(
- dynamic
- int? getPlayerElo(
- dynamic
- bool getPlayerCheckIn(
- dynamic
- bool getPlayerWalkOver(
- dynamic
- Color primaryColor = const Color(0xFF0066FF),
- Color secondaryColor = const Color(0xFF00E5FF),
- Color surfaceColor = const Color(0xFF131A30),
- Color accentColor = const Color(0xFFFFB300),
- Color disputeColor = const Color(0xFFFF3366),
- 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,
});