Flutter Real Estate Property Listing Card with Photo Header
A real estate property listing card with a gradient photo header, price overlay, location, beds, baths, and area stats, plus a details call to action. Responsive Wind layout with dark mode.
main.dart
WDiv(
className: 'mx-auto max-w-sm flex flex-col rounded-3xl overflow-hidden bg-white border border-gray-100 shadow-xl dark:bg-gray-900 dark:border-gray-800',
children: [
WDiv(
className: 'w-full h-40 bg-gradient-to-br from-sky-400 to-indigo-500 flex flex-col justify-between p-4',
children: [
WDiv(
className: 'flex flex-row items-center justify-between w-full',
children: [
WDiv(
className: 'rounded-full px-3 py-1 bg-white/90 dark:bg-white/90',
child: WText(
'For Sale',
className: 'text-xs font-bold text-indigo-600 dark:text-indigo-600'
),
),
WDiv(
className: 'w-9 h-9 rounded-full bg-white/25 dark:bg-white/25 flex flex-row items-center justify-center',
child: WIcon(
Icons.favorite,
className: 'text-base text-white dark:text-white'
),
),
],
),
WText(
'$625,000',
className: 'text-3xl font-extrabold text-white dark:text-white'
),
],
),
WDiv(
className: 'flex flex-col gap-4 p-5 w-full',
children: [
WDiv(
className: 'flex flex-col gap-1 w-full',
children: [
WText(
'Maple Ridge Townhouse',
className: 'text-lg font-bold text-gray-900 dark:text-white'
),
WDiv(
className: 'flex flex-row items-center gap-1',
children: [
WIcon(
Icons.location_on,
className: 'text-sm text-gray-400 dark:text-gray-500'
),
WText(
'428 Elmwood Ave, Portland',
className: 'text-xs text-gray-500 dark:text-gray-400'
),
],
),
],
),
WDiv(
className: 'flex flex-row items-center justify-between w-full',
children: [
WDiv(
className: 'flex flex-col items-center gap-0.5 rounded-2xl bg-gray-50 dark:bg-gray-800 px-5 py-3',
children: [
WText(
'3',
className: 'text-base font-bold text-gray-900 dark:text-white'
),
WText(
'Beds',
className: 'text-xs text-gray-500 dark:text-gray-400'
),
],
),
WDiv(
className: 'flex flex-col items-center gap-0.5 rounded-2xl bg-gray-50 dark:bg-gray-800 px-5 py-3',
children: [
WText(
'2',
className: 'text-base font-bold text-gray-900 dark:text-white'
),
WText(
'Baths',
className: 'text-xs text-gray-500 dark:text-gray-400'
),
],
),
WDiv(
className: 'flex flex-col items-center gap-0.5 rounded-2xl bg-gray-50 dark:bg-gray-800 px-5 py-3',
children: [
WText(
'1,450',
className: 'text-base font-bold text-gray-900 dark:text-white'
),
WText(
'Sq Ft',
className: 'text-xs text-gray-500 dark:text-gray-400'
),
],
),
],
),
WButton(
className: 'w-full rounded-2xl py-3.5 bg-indigo-600 dark:bg-indigo-500 shadow-lg flex flex-row items-center justify-center',
child: WText(
'View details',
className: 'text-sm font-bold text-white dark:text-white'
),
),
],
),
],
)
Stats
- Views
- 63
- Stars
- 0
- Revisions
- 1
- Size
- 3,824 chars
- Created
- Jul 7, 2026