Flutter Cinema Seat Selection Card with Screen and Legend

A movie theater seat picker built with Wind for Flutter: a screen indicator bar, a color-coded seat grid (available, selected, taken), a state legend, and a live seat and price summary above a booking button. A pre-purchase seat map layout using Tailwind-style className utilities with dark-mode pairs.

Anılcan Çakır by Anılcan Çakır 19 views 0 stars 6 days ago Rev 1
Flutter Cinema Seat Selection Card with Screen and Legend preview
main.dart
WDiv(
  className: 'max-w-sm w-full rounded-3xl bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 shadow-xl p-6',
  children: [
    WDiv(
      className: 'flex flex-row items-center justify-between w-full',
      children: [
        WDiv(
          className: 'flex flex-col',
          children: [
            WText(
              'Dune: Part Three',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WText(
              'IMAX  |  Screen 4  |  7:30 PM',
              className: 'text-xs text-gray-500 dark:text-gray-400'
            ),
          ],
        ),
        WDiv(
          className: 'px-2.5 py-1 rounded-lg bg-gray-100 dark:bg-gray-800',
          child: WText(
            'PG-13',
            className: 'text-xs font-semibold text-gray-600 dark:text-gray-300'
          ),
        ),
      ],
    ),
    WDiv(
      className: 'w-full mt-6',
      child: WText(
        'SCREEN',
        className: 'text-xs font-semibold tracking-widest text-gray-400 dark:text-gray-500 text-center'
      ),
    ),
    WDiv(
      className: 'flex flex-row justify-center w-full mt-2',
      child: WDiv(
        className: 'w-44 h-1.5 rounded-full bg-indigo-300 dark:bg-indigo-700'
      ),
    ),
    WDiv(
      className: 'flex flex-col gap-2 w-full mt-6',
      children: [
        WDiv(
          className: 'flex flex-row items-center justify-center gap-2 w-full',
          children: [
            WDiv(
              className: 'w-8 h-8 rounded-md bg-gray-300 dark:bg-gray-600'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-gray-300 dark:bg-gray-600'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-gray-300 dark:bg-gray-600'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-center gap-2 w-full',
          children: [
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-center gap-2 w-full',
          children: [
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-500 dark:bg-indigo-400'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-500 dark:bg-indigo-400'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-500 dark:bg-indigo-400'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-center gap-2 w-full',
          children: [
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-gray-300 dark:bg-gray-600'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-center gap-2 w-full',
          children: [
            WDiv(
              className: 'w-8 h-8 rounded-md bg-gray-300 dark:bg-gray-600'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
            WDiv(
              className: 'w-8 h-8 rounded-md bg-indigo-100 dark:bg-gray-700'
            ),
          ],
        ),
      ],
    ),
    WDiv(
      className: 'flex flex-row items-center justify-center gap-5 w-full mt-6',
      children: [
        WDiv(
          className: 'flex flex-row items-center',
          children: [
            WDiv(
              className: 'w-4 h-4 rounded bg-indigo-100 dark:bg-gray-700'
            ),
            WText(
              'Available',
              className: 'text-xs text-gray-500 dark:text-gray-400 ml-1.5'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center',
          children: [
            WDiv(
              className: 'w-4 h-4 rounded bg-indigo-500 dark:bg-indigo-400'
            ),
            WText(
              'Selected',
              className: 'text-xs text-gray-500 dark:text-gray-400 ml-1.5'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center',
          children: [
            WDiv(
              className: 'w-4 h-4 rounded bg-gray-300 dark:bg-gray-600'
            ),
            WText(
              'Taken',
              className: 'text-xs text-gray-500 dark:text-gray-400 ml-1.5'
            ),
          ],
        ),
      ],
    ),
    WDiv(
      className: 'w-full border-t border-gray-100 dark:border-gray-800 mt-6'
    ),
    WDiv(
      className: 'flex flex-row items-center justify-between w-full mt-4',
      children: [
        WDiv(
          className: 'flex flex-col',
          children: [
            WText(
              '3 seats  |  Row C',
              className: 'text-xs text-gray-500 dark:text-gray-400'
            ),
            WText(
              'C5, C6, C7',
              className: 'text-base font-bold text-gray-900 dark:text-white'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-col items-end',
          children: [
            WText(
              'Total',
              className: 'text-xs text-gray-500 dark:text-gray-400'
            ),
            WText(
              '$54.00',
              className: 'text-base font-bold text-gray-900 dark:text-white'
            ),
          ],
        ),
      ],
    ),
    WButton(
      className: 'w-full mt-5 rounded-2xl bg-indigo-600 dark:bg-indigo-500 py-3',
      child: WText(
        'Book Tickets',
        className: 'text-white text-center font-semibold text-sm'
      ),
    ),
  ],
)
Stats
Views
19
Stars
0
Revisions
1
Size
8,275 chars
Created
Jul 20, 2026