İçeriğe geç
English
Tüm örnekler

Flutter CI/CD Deploy Pipeline Status Card with Stage Progress

A Flutter CI/CD pipeline card for devops dashboards: branch and commit header, running status pill, segmented stage progress bar and build, test, deploy and approve rows with status icons and durations. Built with wind_kit className utilities and dark mode pairs.

  • WDiv
  • WText
  • WIcon
önizleme
u30it7f6.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'
        ),
      ],
    ),
  ],
)
  • Flutter File Permission Card with rwx Grid and Octal Mode Readout

    A Flutter file permission card for DevOps dashboards, hosting panels and learning apps: a terminal-style grid of owner, group and other against read, write and execute, bits worth 4, 2 and 1 summing to the octal digits of mode 755, plus the chmod command and the -rwxr-xr-x listing. Built with wind_kit.

    • WDiv
    • WIcon
    • WText
    • WButton
  • Flutter Contrast Checker Card with WCAG AA and AAA Pass Badges

    A WCAG 2.2 colour contrast card for design system and accessibility apps: text and background swatches, a live preview of body and large text, the 3.74:1 ratio on a threshold scale, AA and AAA pass or fail tiles for normal and large text, and a one-tap fix to the nearest passing shade.

    • WDiv
    • WIcon
    • WText
    • WButton
  • Flutter Subnet Calculator Card with 32 Bit Network and Host Grid

    A Flutter subnet calculator card for network and developer tools: an IPv4 address with its CIDR prefix, all 32 bits by octet with network and host bits in two colours, plus network, mask, first and last host, broadcast and usable hosts. A correct /21 worked example built with wind_kit.

    • WDiv
    • WIcon
    • WText
    • WButton