# Kimliğinizi paylaşmadan yaşınızı doğrulayan bir kontrol paneli

Kullanıcılar doğum tarihini veya adresini paylaşmadan 18 yaşından büyük olduklarını kanıtlasın. `WSwitch` kontrolleri, onay öncesinde yaş bilgisini kişisel ayrıntılardan ayırır.

`WDiv`, `WText`, `WSwitch`, `WButton`, `WIcon`

```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'),
    ])),
  ],
)
```
