Flutter Podcast Now Playing Card with Controls
A media now-playing card with cover art, episode title, a progress track with elapsed and total time, and playback controls. Styled entirely with Wind UI utility classes and dark mode ready.
WDiv(
className: 'mx-auto max-w-sm flex flex-col rounded-2xl border bg-white border-gray-200 shadow-lg overflow-hidden dark:bg-gray-900 dark:border-gray-800',
children: [
WDiv(
className: 'h-44 w-full bg-gradient-to-br from-indigo-500 via-purple-500 to-pink-500 dark:from-indigo-700 dark:via-purple-700 dark:to-pink-700',
child: WDiv(
className: 'flex flex-col items-center justify-center gap-1 w-full h-44',
children: [
WText(
'EP 42',
className: 'text-5xl font-black text-white'
),
WText(
'NOW PLAYING',
className: 'text-xs font-bold tracking-widest text-white/80'
),
]
)
),
WDiv(
className: 'flex flex-col gap-4 p-5',
children: [
WDiv(
className: 'flex flex-col gap-0.5',
children: [
WText(
'Designing in Flutter, Live',
className: 'text-base font-bold text-gray-900 dark:text-white'
),
WText(
'The Build Loop · Episode 42',
className: 'text-xs text-gray-400 dark:text-gray-500'
),
]
),
WDiv(
className: 'flex flex-col gap-2',
children: [
WDiv(
className: 'flex flex-col items-start w-full h-1.5 rounded-full bg-gray-200 dark:bg-gray-700',
child: WDiv(
className: 'w-2/5 h-1.5 rounded-full bg-indigo-500 dark:bg-indigo-400'
)
),
WDiv(
className: 'flex flex-row items-center justify-between',
children: [
WText(
'14:32',
className: 'text-xs font-medium text-gray-500 dark:text-gray-400'
),
WText(
'38:10',
className: 'text-xs font-medium text-gray-500 dark:text-gray-400'
),
]
),
]
),
WDiv(
className: 'flex flex-row items-center justify-center gap-6',
children: [
WIcon(
Icons.skip_previous,
className: 'text-gray-700 dark:text-gray-200 text-3xl'
),
WDiv(
className: 'flex items-center justify-center w-14 h-14 rounded-full bg-indigo-600 dark:bg-indigo-500 shadow-lg',
child: WIcon(
Icons.play_arrow,
className: 'text-white text-3xl'
)
),
WIcon(
Icons.skip_next,
className: 'text-gray-700 dark:text-gray-200 text-3xl'
),
]
),
],
),
],
)
Benzer örnekler
-
Flutter Beat Sequencer Card with 16 Step Track Grid
A drum machine pattern grid where instrument tracks run down the left and 16 steps run across the top, so every cell is a step you can read at a glance. Six tracks, downbeat markers on 1, 5, 9 and 13, and a transport button, all built from fixed-size Wind divs.
-
Flutter Mixing Console Card with Channel Strip Level Meters
A Flutter audio mixer card for music production apps: six vertical channel meters with peak and clip zones, dB readouts, mute and solo pills and a master bus meter with a no-clipping badge. Vertical meters from a fixed-height track and bottom-aligned fill in wind_kit, no custom painter.
-
Flutter Festival Lineup Card with Set Times and Stages
A Flutter festival lineup card for music and event apps: gradient stage-art header, set-times list with a starred headliner, per-act time pills, coloured stage tags, a venue row and a get-passes button. Built with wind_kit className utilities and dark mode pairs.