Flutter CI/CD Deploy Pipeline Status Card with Stage Progress

A continuous deployment pipeline card built with Wind for Flutter: a branch and commit header, a running status pill, a segmented stage progress bar, and per-stage rows (build, test, deploy, approve) each with a status icon, detail line, and duration. A staged devops process view using Tailwind-style className utilities with dark-mode pairs.

Anılcan Çakır by Anılcan Çakır 5 views 0 stars 1 day ago Rev 1
Flutter CI/CD Deploy Pipeline Status Card with Stage Progress 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(
              'Deploy Pipeline',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center mt-1',
              children: [
                WDiv(
                  className: 'px-2 py-0.5 rounded-md bg-gray-100 dark:bg-gray-800',
                  child: WText(
                    'main',
                    className: 'text-xs font-semibold text-gray-600 dark:text-gray-300'
                  ),
                ),
                WText(
                  'a3f9c2e',
                  className: 'text-xs font-medium text-gray-400 dark:text-gray-500 ml-2'
                ),
              ],
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center px-3 py-1 rounded-full bg-amber-100 dark:bg-amber-800',
          children: [
            WDiv(
              className: 'w-2 h-2 rounded-full bg-amber-500 dark:bg-amber-300'
            ),
            WText(
              'Running',
              className: 'text-xs font-semibold text-amber-700 dark:text-amber-100 ml-1.5'
            ),
          ],
        ),
      ],
    ),
    WDiv(
      className: 'flex flex-row items-center gap-1 w-full mt-4',
      children: [
        WDiv(
          className: 'w-[84px] h-2 rounded-full bg-emerald-500 dark:bg-emerald-400'
        ),
        WDiv(
          className: 'w-[84px] h-2 rounded-full bg-emerald-500 dark:bg-emerald-400'
        ),
        WDiv(
          className: 'w-[84px] h-2 rounded-full bg-amber-500 dark:bg-amber-400'
        ),
        WDiv(
          className: 'w-[60px] h-2 rounded-full bg-gray-200 dark:bg-gray-700'
        ),
      ],
    ),
    WDiv(
      className: 'flex flex-col gap-4 w-full mt-6',
      children: [
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-row items-center',
              children: [
                WDiv(
                  className: 'w-8 h-8 rounded-full bg-emerald-100 dark:bg-emerald-900 flex flex-row items-center justify-center',
                  child: WIcon(
                    Icons.check_circle,
                    className: 'text-emerald-600 dark:text-emerald-300 text-base'
                  ),
                ),
                WDiv(
                  className: 'flex flex-col ml-3',
                  children: [
                    WText(
                      'Build',
                      className: 'text-sm font-semibold text-gray-900 dark:text-white'
                    ),
                    WText(
                      'Compiled 248 files',
                      className: 'text-xs text-gray-400 dark:text-gray-500'
                    ),
                  ],
                ),
              ],
            ),
            WText(
              '1m 02s',
              className: 'text-xs font-medium text-gray-500 dark:text-gray-400'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-row items-center',
              children: [
                WDiv(
                  className: 'w-8 h-8 rounded-full bg-emerald-100 dark:bg-emerald-900 flex flex-row items-center justify-center',
                  child: WIcon(
                    Icons.check_circle,
                    className: 'text-emerald-600 dark:text-emerald-300 text-base'
                  ),
                ),
                WDiv(
                  className: 'flex flex-col ml-3',
                  children: [
                    WText(
                      'Test',
                      className: 'text-sm font-semibold text-gray-900 dark:text-white'
                    ),
                    WText(
                      '612 passed, 0 failed',
                      className: 'text-xs text-gray-400 dark:text-gray-500'
                    ),
                  ],
                ),
              ],
            ),
            WText(
              '2m 14s',
              className: 'text-xs font-medium text-gray-500 dark:text-gray-400'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-row items-center',
              children: [
                WDiv(
                  className: 'w-8 h-8 rounded-full bg-amber-100 dark:bg-amber-900 flex flex-row items-center justify-center',
                  child: WIcon(
                    Icons.bolt,
                    className: 'text-amber-600 dark:text-amber-300 text-base'
                  ),
                ),
                WDiv(
                  className: 'flex flex-col ml-3',
                  children: [
                    WText(
                      'Deploy',
                      className: 'text-sm font-semibold text-gray-900 dark:text-white'
                    ),
                    WText(
                      'Rolling out to production',
                      className: 'text-xs text-gray-400 dark:text-gray-500'
                    ),
                  ],
                ),
              ],
            ),
            WText(
              '0m 48s',
              className: 'text-xs font-medium text-amber-600 dark:text-amber-400'
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-row items-center',
              children: [
                WDiv(
                  className: 'w-8 h-8 rounded-full bg-gray-100 dark:bg-gray-800 flex flex-row items-center justify-center',
                  child: WIcon(
                    Icons.schedule,
                    className: 'text-gray-400 dark:text-gray-500 text-base'
                  ),
                ),
                WDiv(
                  className: 'flex flex-col ml-3',
                  children: [
                    WText(
                      'Approve',
                      className: 'text-sm font-semibold text-gray-400 dark:text-gray-500'
                    ),
                    WText(
                      'Waiting for release gate',
                      className: 'text-xs text-gray-400 dark:text-gray-600'
                    ),
                  ],
                ),
              ],
            ),
            WText(
              'Queued',
              className: 'text-xs font-medium text-gray-400 dark:text-gray-500'
            ),
          ],
        ),
      ],
    ),
    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: [
        WText(
          'Pipeline #1284',
          className: 'text-xs text-gray-500 dark:text-gray-400'
        ),
        WText(
          'Started 3 minutes ago',
          className: 'text-xs text-gray-400 dark:text-gray-500'
        ),
      ],
    ),
  ],
)
Stats
Views
5
Stars
0
Revisions
1
Size
7,522 chars
Created
Jul 24, 2026