Skip to content
Türkçe
All snippets

Flutter Stock Watchlist Card with Live Price Deltas

A dark fintech watchlist card with a bold portfolio value, a daily-change indicator, and a list of ticker rows showing price and color-coded percent deltas in green and red pills. Built with Tailwind-style className utilities in Flutter.

  • WDiv
  • WText
  • WSpacer
  • WIcon
preview
z60b2rsy.dart
WDiv(
  className: 'mx-auto max-w-sm flex flex-col gap-4 rounded-3xl p-6 bg-gray-950 shadow-xl dark:bg-gray-950',
  children: [
    WDiv(
      className: 'flex flex-col gap-1',
      children: [
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WText(
              'Portfolio',
              className: 'text-xs font-semibold uppercase tracking-widest text-gray-500 dark:text-gray-500'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-1 rounded-full px-2 py-1 bg-green-500/15 dark:bg-green-500/15',
              children: [
                WDiv(
                  className: 'w-2 h-2 rounded-full bg-green-400 dark:bg-green-400',
                  child: WSpacer(
                    className: 'w-2 h-2'
                  ),
                ),
                WText(
                  'Markets open',
                  className: 'text-xs font-medium text-green-400 dark:text-green-400'
                ),
              ],
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-baseline gap-2',
          children: [
            WText(
              '$48,210',
              className: 'text-4xl font-extrabold text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-1',
              children: [
                WIcon(
                  Icons.trending_up,
                  className: 'text-green-400 text-sm dark:text-green-400'
                ),
                WText(
                  '+2.6% today',
                  className: 'text-sm font-semibold text-green-400 dark:text-green-400'
                ),
              ],
            ),
          ],
        ),
      ],
    ),
    WDiv(
      className: 'flex flex-col gap-3 w-full border-t border-gray-800 dark:border-gray-800 pt-4',
      children: [
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-col',
              children: [
                WText(
                  'NVDA',
                  className: 'text-base font-bold text-white'
                ),
                WText(
                  'NVIDIA Corp',
                  className: 'text-xs text-gray-500 dark:text-gray-500'
                ),
              ],
            ),
            WDiv(
              className: 'flex flex-row items-center gap-3',
              children: [
                WText(
                  '$184.30',
                  className: 'text-sm font-semibold text-white'
                ),
                WDiv(
                  className: 'rounded-full px-2 py-1 bg-green-500/15 dark:bg-green-500/15',
                  child: WText(
                    '+3.4%',
                    className: 'text-xs font-bold text-green-400 dark:text-green-400'
                  ),
                ),
              ],
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-col',
              children: [
                WText(
                  'AAPL',
                  className: 'text-base font-bold text-white'
                ),
                WText(
                  'Apple Inc',
                  className: 'text-xs text-gray-500 dark:text-gray-500'
                ),
              ],
            ),
            WDiv(
              className: 'flex flex-row items-center gap-3',
              children: [
                WText(
                  '$229.87',
                  className: 'text-sm font-semibold text-white'
                ),
                WDiv(
                  className: 'rounded-full px-2 py-1 bg-green-500/15 dark:bg-green-500/15',
                  child: WText(
                    '+1.2%',
                    className: 'text-xs font-bold text-green-400 dark:text-green-400'
                  ),
                ),
              ],
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-col',
              children: [
                WText(
                  'TSLA',
                  className: 'text-base font-bold text-white'
                ),
                WText(
                  'Tesla Inc',
                  className: 'text-xs text-gray-500 dark:text-gray-500'
                ),
              ],
            ),
            WDiv(
              className: 'flex flex-row items-center gap-3',
              children: [
                WText(
                  '$242.10',
                  className: 'text-sm font-semibold text-white'
                ),
                WDiv(
                  className: 'rounded-full px-2 py-1 bg-red-500/15 dark:bg-red-500/15',
                  child: WText(
                    '-0.8%',
                    className: 'text-xs font-bold text-red-400 dark:text-red-400'
                  ),
                ),
              ],
            ),
          ],
        ),
        WDiv(
          className: 'flex flex-row items-center justify-between w-full',
          children: [
            WDiv(
              className: 'flex flex-col',
              children: [
                WText(
                  'MSFT',
                  className: 'text-base font-bold text-white'
                ),
                WText(
                  'Microsoft',
                  className: 'text-xs text-gray-500 dark:text-gray-500'
                ),
              ],
            ),
            WDiv(
              className: 'flex flex-row items-center gap-3',
              children: [
                WText(
                  '$418.50',
                  className: 'text-sm font-semibold text-white'
                ),
                WDiv(
                  className: 'rounded-full px-2 py-1 bg-green-500/15 dark:bg-green-500/15',
                  child: WText(
                    '+0.5%',
                    className: 'text-xs font-bold text-green-400 dark:text-green-400'
                  ),
                ),
              ],
            ),
          ],
        ),
      ],
    ),
  ],
)
  • Flutter Euro Banknote Card with True Scale Note Stack and Denomination Colours

    A euro banknote card for banking, travel and currency apps: all six Europa series notes from €5 to €200 drawn to true scale in their official grey, red, blue, orange, green and yellow-brown, each tagged with its millimetre size, plus width and height stats showing how every step up adds 6 or 7 mm.

    • WDiv
    • WText
    • WButton
    • WIcon
  • Flutter Income Tax Band Card with Marginal Rate Staircase and Effective Rate

    A Flutter income tax card for payroll, budgeting and personal finance apps: UK 2026/27 personal allowance, basic and higher rate bands drawn to scale for a 60,000 pound salary, tax per band and tiles for total, effective rate and marginal rate. Baseline-aligned wind_kit bars.

    • WDiv
    • WIcon
    • WText
    • WButton
  • Flutter Revenue Bridge Card with Floating Waterfall Steps

    A waterfall bridge that walks opening recurring revenue to closing through new, expansion, contraction and churn. Each step floats at its own running total with a hairline connector to the next, so the additions and the losses are readable without a chart library.

    • WDiv
    • WIcon
    • WText
    • WButton