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

Bekletme kurallarını netleştiren transfer güvenliği ayarları

Para hesaptan çıkmadan önce riskli transferlerde kontrolü kullanıcıya verin. Sade ayar panelinde WSwitch kontrolleri arama uyarılarını, yeni alıcı bekletmelerini ve limit değişikliklerini yönetir; planlı faturaların kapsam dışında olduğu açıkça belirtilir.

  • WDiv
  • WText
  • WSwitch
önizleme
transfer_safety_controls_that_make_the_p_s57lpn.dart
WDiv(
  className: '''
    w-full px-4 py-8
    flex flex-col gap-2
    bg-black dark:bg-black
  ''',
  children: [
    WText('Transfer safety', className: '''
      px-1 pb-2
      text-3xl font-bold
      text-white dark:text-white
    '''),
    WText('Add time to check before money moves.', className: '''
      px-1 pb-5
      text-sm
      text-neutral-400 dark:text-neutral-400
    '''),
    WText('Before you approve', className: '''
      px-4 pb-1
      text-sm
      text-neutral-400 dark:text-neutral-400
    '''),
    WDiv(className: '''
      flex flex-col
      rounded-xl overflow-hidden
      bg-neutral-900 dark:bg-neutral-900
    ''', children: [
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WDiv(className: 'flex-1 flex flex-col gap-1', children: [
          WText('Warn during calls', className: 'text-base text-white dark:text-white'),
          WText('Pause to verify the request.', className: 'text-sm text-neutral-400 dark:text-neutral-400'),
        ]),
        WSwitch(value: true, onChanged: (v) {}, semanticLabel: 'Warn during calls',
          thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
            w-12 h-7 rounded-full
            flex items-center justify-start checked:justify-end
            bg-neutral-700 dark:bg-neutral-700
            checked:bg-blue-500 dark:checked:bg-blue-500
            hover:ring-2 focus:ring-2
            ring-neutral-400 dark:ring-neutral-400
          '''),
      ]),
      WDiv(className: 'h-0.5 mx-4 bg-neutral-800 dark:bg-neutral-800'),
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WDiv(className: 'flex-1 flex flex-col gap-1', children: [
          WText('Delay new recipients', className: 'text-base text-white dark:text-white'),
          WText('Hold for 1 hour. Cancel anytime.', className: 'text-sm text-neutral-400 dark:text-neutral-400'),
        ]),
        WSwitch(value: true, onChanged: (v) {}, semanticLabel: 'Delay new recipients',
          thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
            w-12 h-7 rounded-full
            flex items-center justify-start checked:justify-end
            bg-neutral-700 dark:bg-neutral-700
            checked:bg-blue-500 dark:checked:bg-blue-500
            hover:ring-2 focus:ring-2
            ring-neutral-400 dark:ring-neutral-400
          '''),
      ]),
      WDiv(className: 'h-0.5 mx-4 bg-neutral-800 dark:bg-neutral-800'),
      WDiv(className: 'flex flex-row items-center gap-3 px-4 py-4', children: [
        WDiv(className: 'flex-1 flex flex-col gap-1', children: [
          WText('Lock limit increases', className: 'text-base text-white dark:text-white'),
          WText('Wait 24 hours for a higher limit.', className: 'text-sm text-neutral-400 dark:text-neutral-400'),
        ]),
        WSwitch(value: false, onChanged: (v) {}, semanticLabel: 'Lock limit increases',
          thumbClassName: 'size-6 rounded-full bg-white dark:bg-white', className: '''
            w-12 h-7 rounded-full
            flex items-center justify-start checked:justify-end
            bg-neutral-700 dark:bg-neutral-700
            checked:bg-blue-500 dark:checked:bg-blue-500
            hover:ring-2 focus:ring-2
            ring-neutral-400 dark:ring-neutral-400
          '''),
      ]),
    ]),
    WText('Always on schedule', className: '''
      px-4 pt-5 pb-1
      text-sm
      text-neutral-400 dark:text-neutral-400
    '''),
    WDiv(className: '''
      flex flex-col gap-2
      p-4 rounded-xl
      bg-neutral-900 dark:bg-neutral-900
    ''', children: [
      WText('Your bills keep moving', className: 'text-base text-white dark:text-white'),
      WText('Scheduled bills and recurring payments are not held by these rules.', className: 'text-sm text-neutral-400 dark:text-neutral-400'),
    ]),
    WText('Changes save automatically.', className: '''
      px-4 pt-3
      text-sm
      text-neutral-400 dark:text-neutral-400
    '''),
  ],
)
  • Yedek enerjiyi koruyan ev bataryası ayar paneli

    Ev bataryasının yedek enerji payını, şarj sınırını ve aracın bataryadan enerji alıp alamayacağını açıkça yönetin. Sade ayar panelinde renk yalnızca etkin kuralları gösteren WSwitch kontrollerinde kullanılır.

    • WDiv
    • WText
    • WButton
    • WIcon
    • WSwitch
  • İlk taksitten önce toplam maliyeti gösteren ödeme karşılaştırması

    Alışveriş yapanların düşük ilk ödeme ile gerçek toplamı karşılaştırmasını sağlayın. Eşit boyuttaki iki WCard, peşin fiyatı, dört taksiti ve ek maliyeti ödeme öncesinde gösterir.

    • WDiv
    • WText
    • WCard
    • WBadge
    • WButton
  • Ödemeyi ertelemeyi kolaylaştıran alıcı adı uyarısı

    Alıcı adı eşleşmediğinde kullanıcıya net bir çıkış sunun. Yeşil uyarı afişi, eşleşmeme durumunu büyük yazıyla gösterir ve klavyeyle erişilebilen bir WButton ile ödemeyi sonraya kaydetme seçeneği sunar.

    • WDiv
    • WIcon
    • WText
    • WButton