Flutter Live Sports Score Card
A live match score card with a league label, pulsing-style LIVE badge, two team rows with colored crest initials and bold scores, and a match-status footer. Built with Wind utility classes and full dark-mode pairs.
main.dart
WDiv(
className: 'flex flex-col w-full max-w-sm rounded-3xl p-6 bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 shadow-xl',
children: [
WDiv(
className: 'flex flex-row items-center justify-between w-full',
children: [
WText(
'Premier League',
className: 'text-sm font-semibold text-gray-500 dark:text-gray-400'
),
WDiv(
className: 'flex flex-row items-center px-3 py-1 rounded-full bg-red-50 dark:bg-red-950',
children: [
WDiv(
className: 'w-2 h-2 rounded-full bg-red-500 dark:bg-red-400',
child: WSpacer(),
),
WText(
'LIVE',
className: 'ml-2 text-xs font-bold tracking-wide text-red-600 dark:text-red-400'
),
],
),
],
),
WDiv(
className: 'flex flex-row items-center justify-between w-full mt-6',
children: [
WDiv(
className: 'flex flex-row items-center',
children: [
WDiv(
className: 'w-10 h-10 rounded-full bg-red-600 dark:bg-red-700 flex flex-row items-center justify-center',
children: [
WText(
'ARS',
className: 'text-xs font-bold text-white dark:text-white'
),
],
),
WText(
'Arsenal',
className: 'ml-3 text-base font-semibold text-gray-900 dark:text-white'
),
],
),
WText(
'2',
className: 'text-3xl font-bold text-gray-900 dark:text-white'
),
],
),
WDiv(
className: 'flex flex-row items-center justify-between w-full mt-4',
children: [
WDiv(
className: 'flex flex-row items-center',
children: [
WDiv(
className: 'w-10 h-10 rounded-full bg-blue-700 dark:bg-blue-800 flex flex-row items-center justify-center',
children: [
WText(
'CHE',
className: 'text-xs font-bold text-white dark:text-white'
),
],
),
WText(
'Chelsea',
className: 'ml-3 text-base font-semibold text-gray-900 dark:text-white'
),
],
),
WText(
'1',
className: 'text-3xl font-bold text-gray-900 dark:text-white'
),
],
),
WDiv(
className: 'flex flex-row items-center justify-center w-full mt-6 pt-4 border-t border-gray-200 dark:border-gray-800',
children: [
WIcon(
Icons.schedule,
className: 'text-sm text-gray-400 dark:text-gray-500'
),
WText(
'2nd Half · 67’',
className: 'ml-2 text-sm font-medium text-gray-600 dark:text-gray-300'
),
],
),
],
)
Stats
- Views
- 16
- Stars
- 0
- Revisions
- 1
- Size
- 2,947 chars
- Created
- Jun 17, 2026