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.

Anılcan Çakır by Anılcan Çakır 23 views 0 stars 2 weeks ago Rev 1
Flutter Podcast Now Playing Card with Controls preview
main.dart
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'
            ),
          ]
        ),
      ],
    ),
  ],
)
Stats
Views
23
Stars
0
Revisions
1
Size
2,738 chars
Created
Jun 10, 2026