Skip to content
Türkçe
All snippets

A charging receipt that separates the final cost from the card hold

Make public charging costs easy to reconcile: energy, session fees and idle time add up on a paper receipt, with the released card hold explained below. Wind WText rows keep every amount aligned.

  • WDiv
  • WText
  • WButton
preview
a_charging_receipt_that_separates_the_fi_gjehno.dart
WDiv(
  className: '''
    flex flex-col items-center gap-4 w-full
    py-8
    bg-neutral-800 dark:bg-neutral-900
  ''',
  children: [
    WDiv(
      className: '''
        flex flex-col gap-3 w-80
        p-6 rounded-none
        bg-neutral-100 dark:bg-neutral-100
      ''',
      children: [
        WText('RIVERSIDE CHARGING', className: '''
          text-sm font-bold tracking-widest
          text-neutral-900 dark:text-neutral-900
        '''),
        WText('Tue 24 Nov 2026, 16:48', className: '''
          text-xs
          text-neutral-600 dark:text-neutral-600
        '''),
        WText('Bay 04 / 16:12 to 16:48 / 36 min', className: '''
          text-xs
          text-neutral-600 dark:text-neutral-600
        '''),
        WDiv(className: 'h-0.5 bg-neutral-300 dark:bg-neutral-300'),
        WDiv(className: 'flex flex-row', children: [
          WText('Energy / 24 kWh', className: '''
            flex-1 text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
          WText('\$10.08', className: '''
            text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
        ]),
        WText('24 kWh at \$0.42 per kWh', className: '''
          text-xs
          text-neutral-600 dark:text-neutral-600
        '''),
        WDiv(className: 'flex flex-row', children: [
          WText('Session fee', className: '''
            flex-1 text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
          WText('\$0.50', className: '''
            text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
        ]),
        WDiv(className: 'flex flex-row', children: [
          WText('Idle time / 0 min', className: '''
            flex-1 text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
          WText('\$0.00', className: '''
            text-sm font-medium
            text-neutral-900 dark:text-neutral-900
          '''),
        ]),
        WDiv(className: 'h-1 bg-neutral-900 dark:bg-neutral-900'),
        WDiv(className: 'flex flex-row items-center', children: [
          WText('TOTAL', className: '''
            flex-1 text-sm font-bold tracking-widest
            text-neutral-900 dark:text-neutral-900
          '''),
          WText('\$10.58', className: '''
            text-3xl font-bold
            text-neutral-900 dark:text-neutral-900
          '''),
        ]),
        WDiv(className: 'h-0.5 bg-neutral-300 dark:bg-neutral-300'),
        WText('Paid with card ending 2846.', className: '''
          text-xs
          text-neutral-600 dark:text-neutral-600
        '''),
        WText('\$50.00 held / \$39.42 released', className: '''
          text-sm font-medium
          text-neutral-900 dark:text-neutral-900
        '''),
        WText('Your bank may take a few days to show the released hold.', className: '''
          text-xs
          text-neutral-600 dark:text-neutral-600
        '''),
      ],
    ),
    WButton(
      onTap: () {},
      className: '''
        w-80 py-3 border
        border-neutral-400 dark:border-neutral-400
        hover:bg-neutral-700 dark:hover:bg-neutral-800
        focus:ring-2 focus:ring-neutral-100 dark:focus:ring-neutral-100
        disabled:opacity-50
      ''',
      child: WText('Download charging receipt', className: '''
        text-center text-sm font-medium
        text-neutral-100 dark:text-neutral-100
      '''),
    ),
  ],
)
  • A spare-change receipt that shows how everyday spending becomes savings

    Make automatic savings easy to trust with an itemised spare-change receipt: three purchases, their round-ups and the exact amount moved to a travel fund. Paper styling and a heavy h-1 total rule keep every cent readable.

    • WDiv
    • WText
    • WButton
  • A transfer tracker that shows exactly where your money is

    Replace anxious refreshing with a clear delivery trail: recipient amount, completed checks and the next bank handoff. A mint hero and quiet WCard timeline make cross-border transfers feel understandable.

    • WDiv
    • WIcon
    • WText
    • WBadge
    • WCard
    • WSpacer
    • WButton
  • A renewal radar that puts next week's charges in plain sight

    Make recurring costs feel predictable: a bold seven-day total, three dated renewals and a reminder action. An amber hero and quiet service rows use dark: pairs for a copy-ready subscription tracker.

    • WDiv
    • WText
    • WCard
    • WIcon
    • WBadge
    • WButton