Flutter Voice Message Bubble with Waveform Player
A chat voice message bubble built with Wind utility classes: a sender avatar, a two tone waveform that shows playback progress, a play control, and the clip duration. Dark mode pairs are included on every color token.
WDiv(
className: 'max-w-sm w-full mx-auto p-5 rounded-3xl 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 mb-4',
children: [
WDiv(
className: 'flex flex-row items-center',
children: [
WDiv(
className: 'w-10 h-10 rounded-full bg-gradient-to-br from-violet-500 to-indigo-600 dark:from-violet-400 dark:to-indigo-500 flex flex-row items-center justify-center mr-3',
child: WText(
'EL',
className: 'text-white text-sm font-bold'
),
),
WDiv(
className: 'flex flex-col',
children: [
WText(
'Elena Park',
className: 'text-gray-900 dark:text-white text-sm font-bold'
),
WText(
'Voice message',
className: 'text-gray-400 dark:text-gray-500 text-xs'
),
],
),
],
),
WText(
'2:14 PM',
className: 'text-gray-400 dark:text-gray-500 text-xs'
),
],
),
WDiv(
className: 'flex flex-row items-center w-full p-3 rounded-2xl bg-indigo-50 dark:bg-indigo-950',
children: [
WButton(
className: 'w-11 h-11 rounded-full bg-indigo-600 dark:bg-indigo-500 flex flex-row items-center justify-center mr-3',
child: WIcon(
Icons.play_arrow,
className: 'text-white text-2xl'
),
),
WDiv(
className: 'flex flex-row items-center gap-1',
children: [
WDiv(
className: 'w-1 h-3 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-5 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-7 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-4 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-8 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-6 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-3 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-5 rounded-full bg-indigo-500 dark:bg-indigo-400',
children: []
),
WDiv(
className: 'w-1 h-4 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-7 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-5 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-8 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-3 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-6 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-4 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-5 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-7 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-3 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-6 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
WDiv(
className: 'w-1 h-4 rounded-full bg-indigo-200 dark:bg-indigo-800',
children: []
),
],
),
WText(
'0:38',
className: 'text-indigo-600 dark:text-indigo-300 text-xs font-semibold ml-3'
),
],
),
],
)
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 Video Call Card with Participant Tile Grid
A live meeting panel with a six tile participant grid, an active speaker ring, per person mute and camera state, connection stats, and a round control bar. Pure Wind className layout, no video plugin needed for the design pass.
-
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.