Flutter Pricing Card with Tailwind-Style className

A SaaS pricing card built with Wind UI utility classes: icon badge, plan name, monthly price, a checkmark feature list, and a full-width CTA. Dark mode included.

Anılcan Çakır by Anılcan Çakır 27 views 0 stars 2 weeks ago Rev 1
Flutter Pricing Card with Tailwind-Style className preview
main.dart
WDiv(
  className: 'mx-auto max-w-sm flex flex-col gap-6 rounded-2xl border p-8 bg-white border-gray-200 shadow-xl dark:bg-gray-900 dark:border-gray-800',
  children: [
    WDiv(
      className: 'flex flex-row items-center gap-3',
      children: [
        WDiv(
          className: 'flex items-center justify-center w-11 h-11 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 shadow-lg',
          child: WIcon(Icons.bolt, className: 'text-white text-2xl'),
        ),
        WDiv(
          className: 'flex flex-col',
          children: [
            WText('Pro', className: 'text-xl font-bold text-gray-900 dark:text-white'),
            WText('For growing teams', className: 'text-sm text-gray-500 dark:text-gray-400'),
          ],
        ),
      ],
    ),
    WDiv(
      className: 'flex flex-row items-end gap-1',
      children: [
        WText('$29', className: 'text-4xl font-extrabold text-gray-900 dark:text-white'),
        WText('/mo', className: 'text-base font-medium text-gray-400 dark:text-gray-500'),
      ],
    ),
    WDiv(
      className: 'flex flex-col gap-3',
      children: [
        WDiv(className: 'flex flex-row items-center gap-2', children: [WIcon(Icons.check_circle, className: 'text-emerald-500 text-lg dark:text-emerald-400'), WText('Unlimited projects', className: 'text-sm text-gray-700 dark:text-gray-300')]),
        WDiv(className: 'flex flex-row items-center gap-2', children: [WIcon(Icons.check_circle, className: 'text-emerald-500 text-lg dark:text-emerald-400'), WText('Priority support', className: 'text-sm text-gray-700 dark:text-gray-300')]),
        WDiv(className: 'flex flex-row items-center gap-2', children: [WIcon(Icons.check_circle, className: 'text-emerald-500 text-lg dark:text-emerald-400'), WText('Advanced analytics', className: 'text-sm text-gray-700 dark:text-gray-300')]),
      ],
    ),
    WButton(
      className: 'w-full rounded-xl px-5 py-3 bg-indigo-600 hover:bg-indigo-500 shadow-lg dark:bg-indigo-500 dark:hover:bg-indigo-400',
      child: WDiv(
        className: 'flex flex-row items-center justify-center gap-2',
        children: [WText('Get started', className: 'text-base font-semibold text-white'), WIcon(Icons.rocket_launch, className: 'text-white text-lg')],
      ),
    ),
  ],
)
Stats
Views
27
Stars
0
Revisions
2
Size
2,282 chars
Created
Jun 9, 2026