Flutter Social Post Card with Engagement Actions

A social feed post card with a verified author header, body copy, a media banner, and like, comment, share, and bookmark actions. Styled entirely with Wind UI utility classes and dark mode ready.

Anılcan Çakır by Anılcan Çakır 21 views 0 stars 2 weeks ago Rev 1
Flutter Social Post Card with Engagement Actions 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: 'flex flex-row items-center justify-between px-4 pt-4',
      children: [
        WDiv(
          className: 'flex flex-row items-center gap-3',
          children: [
            WDiv(
              className: 'flex items-center justify-center w-11 h-11 rounded-full bg-gradient-to-br from-fuchsia-500 to-indigo-500 dark:from-fuchsia-600 dark:to-indigo-600',
              child: WText(
                'MR',
                className: 'text-sm font-bold text-white'
              )
            ),
            WDiv(
              className: 'flex flex-col',
              children: [
                WDiv(
                  className: 'flex flex-row items-center gap-1',
                  children: [
                    WText(
                      'Maya Rivera',
                      className: 'text-sm font-bold text-gray-900 dark:text-white'
                    ),
                    WIcon(
                      Icons.verified,
                      className: 'text-sky-500 dark:text-sky-400 text-sm'
                    ),
                  ]
                ),
                WText(
                  '@mayabuilds · 2h',
                  className: 'text-xs text-gray-400 dark:text-gray-500'
                ),
              ]
            ),
          ]
        ),
        WIcon(
          Icons.more_horiz,
          className: 'text-gray-400 dark:text-gray-500 text-xl'
        ),
      ],
    ),
    WText(
      'Shipped my first Flutter app today using Wind for styling. Tailwind muscle memory, native performance. This is the workflow I have been waiting for.',
      className: 'px-4 pt-3 text-sm leading-relaxed text-gray-700 dark:text-gray-200'
    ),
    WDiv(
      className: 'mt-3 h-44 w-full bg-gradient-to-br from-sky-400 via-indigo-500 to-purple-600 dark:from-sky-600 dark:via-indigo-700 dark:to-purple-800',
      child: WDiv(
        className: 'flex items-center justify-center w-full h-44',
        child: WIcon(
          Icons.bolt,
          className: 'text-white text-6xl'
        )
      )
    ),
    WDiv(
      className: 'flex flex-row items-center justify-between px-5 py-3',
      children: [
        WDiv(
          className: 'flex flex-row items-center gap-1.5',
          children: [
            WIcon(
              Icons.favorite,
              className: 'text-rose-500 dark:text-rose-400 text-lg'
            ),
            WText(
              '1.2k',
              className: 'text-xs font-semibold text-gray-600 dark:text-gray-300'
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-row items-center gap-1.5',
          children: [
            WIcon(
              Icons.chat_bubble,
              className: 'text-gray-500 dark:text-gray-400 text-lg'
            ),
            WText(
              '184',
              className: 'text-xs font-semibold text-gray-600 dark:text-gray-300'
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-row items-center gap-1.5',
          children: [
            WIcon(
              Icons.share,
              className: 'text-gray-500 dark:text-gray-400 text-lg'
            ),
            WText(
              '57',
              className: 'text-xs font-semibold text-gray-600 dark:text-gray-300'
            ),
          ]
        ),
        WIcon(
          Icons.bookmark_border,
          className: 'text-gray-500 dark:text-gray-400 text-lg'
        ),
      ],
    ),
  ],
)
Stats
Views
21
Stars
0
Revisions
1
Size
3,646 chars
Created
Jun 10, 2026