Skip to content
Türkçe
All snippets

An age-proof panel that keeps your identity out of the exchange

Let people share an over-18 result without handing over their birthday or address. A clear disclosure panel uses WSwitch controls to separate the proof from personal details before approval.

  • WDiv
  • WText
  • WSwitch
  • WButton
  • WIcon
preview
an_age_proof_panel_that_keeps_your_ident_dt4dra.dart
WDiv(
  className: '''
    w-full px-4 py-8
    flex flex-col gap-2
    bg-white dark:bg-black
  ''',
  children: [
    WText('Age proof', className: '''
      px-1 pb-2
      text-3xl font-bold
      text-neutral-950 dark:text-white
    '''),
    WText('Choose what leaves your wallet.', className: '''
      px-1 pb-4
      text-base
      text-neutral-600 dark:text-neutral-400
    '''),
    WText('Share with Lantern Cinema', className: '''
      px-4 pb-1
      text-sm
      text-neutral-600 dark:text-neutral-400
    '''),
    WDiv(className: '''
      flex flex-col
      rounded-xl overflow-hidden
      bg-neutral-100 dark:bg-neutral-900
    ''', children: [
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WText('Over 18 result', className: '''
          flex-1
          text-base
          text-neutral-950 dark:text-white
        '''),
        WSwitch(value: true, onChanged: (v) {}, thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
          w-12 h-7 rounded-full
          bg-neutral-300 dark:bg-neutral-700
          checked:bg-green-500 dark:checked:bg-green-500
          checked:justify-end
        '''),
      ]),
      WDiv(className: 'h-0.5 mx-4 bg-neutral-200 dark:bg-neutral-800'),
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WText('Full name', className: '''
          flex-1
          text-base
          text-neutral-950 dark:text-white
        '''),
        WSwitch(value: false, onChanged: (v) {}, thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
          w-12 h-7 rounded-full
          bg-neutral-300 dark:bg-neutral-700
          checked:bg-green-500 dark:checked:bg-green-500
          checked:justify-end
        '''),
      ]),
      WDiv(className: 'h-0.5 mx-4 bg-neutral-200 dark:bg-neutral-800'),
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WText('Date of birth', className: '''
          flex-1
          text-base
          text-neutral-950 dark:text-white
        '''),
        WSwitch(value: false, onChanged: (v) {}, thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
          w-12 h-7 rounded-full
          bg-neutral-300 dark:bg-neutral-700
          checked:bg-green-500 dark:checked:bg-green-500
          checked:justify-end
        '''),
      ]),
    ]),
    WText('Only an age result is selected. Your ID document stays in your wallet.', className: '''
      px-4 pt-3 pb-4
      text-sm
      text-neutral-600 dark:text-neutral-400
    '''),
    WButton(onTap: () {}, className: '''
      px-4 py-4
      rounded-xl border
      border-neutral-300 dark:border-neutral-700
      hover:bg-neutral-100 dark:hover:bg-neutral-900
      focus:ring-2 focus:ring-neutral-500 dark:focus:ring-neutral-400
    ''', child: WDiv(className: 'flex flex-row items-center gap-3', children: [
      WIcon(Icons.fingerprint, className: 'size-6 text-neutral-950 dark:text-white'),
      WText('Approve age proof', className: '''
        flex-1
        text-base font-semibold
        text-neutral-950 dark:text-white
      '''),
      WIcon(Icons.arrow_forward, className: 'size-5 text-neutral-600 dark:text-neutral-400'),
    ])),
  ],
)
  • A refund choice that keeps your money yours

    Compare store credit with money back to the original card, without hiding either option. Equal WCard panels show the bonus, timing and spending limits before the shopper confirms.

    • WDiv
    • WText
    • WCard
    • WBadge
    • WButton
  • A photo access receipt that makes limited permissions feel clear

    Show people exactly what an app can see, not a wall of switches. A bold limited-access summary, readable permission states and real WButton actions make privacy tangible before the next upload.

    • WDiv
    • WIcon
    • WText
    • WSpacer
    • WCard
    • WBadge
    • WButton
    • WAnchor
  • 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