Skip to content
Türkçe
All snippets

An instant resale offer that makes your take-home price clear

Turn unused gear into a confident decision: a bold cash offer, an honest fee breakdown and free pickup in one compact resale screen. Built with WCard and paired light/dark tokens, ready to copy into Flutter.

  • WDiv
  • WCard
  • WIcon
  • WText
  • WBadge
  • WButton
preview
an_instant_resale_offer_that_makes_your_dwswrm.dart
WDiv(
  className: '''
    w-full p-5
    bg-slate-100 dark:bg-slate-950
  ''',
  child: WCard(
    className: '''
      w-full p-5 rounded-3xl border
      border-slate-200 dark:border-slate-800
      bg-white dark:bg-slate-900
    ''',
    child: WDiv(className: 'flex flex-col gap-5', children: [
      WDiv(className: 'flex flex-row items-center gap-2', children: [
        WIcon(Icons.eco, className: 'size-5 text-slate-700 dark:text-slate-300'),
        WText('SECOND LIFE', className: '''
          flex-1 text-xs font-bold tracking-widest
          text-slate-600 dark:text-slate-300
        '''),
        WBadge('Offer ready', className: '''
          px-2 py-1
          bg-slate-100 dark:bg-slate-800
          text-slate-700 dark:text-slate-200
        '''),
      ]),
      WText('Less stuff.\nMore possibility.', className: '''
        text-3xl font-bold leading-tight
        text-slate-950 dark:text-white
      '''),
      WDiv(className: 'flex flex-row items-center gap-3', children: [
        WDiv(className: '''
          p-3 rounded-2xl
          bg-slate-100 dark:bg-slate-800
        ''', child: WIcon(Icons.headphones, className: 'size-8 text-slate-700 dark:text-slate-200')),
        WDiv(className: 'flex-1 flex flex-col gap-1', children: [
          WText('Studio headphones', className: '''
            text-base font-semibold
            text-slate-950 dark:text-white
          '''),
          WText('Wireless / Very good condition', className: 'text-xs text-slate-500 dark:text-slate-400'),
        ]),
      ]),
      WCard(
        className: '''
          w-full p-5 rounded-2xl
          bg-emerald-100 dark:bg-emerald-300
        ''',
        child: WDiv(className: 'flex flex-col gap-2', children: [
          WText('YOUR CASH OFFER', className: '''
            text-xs font-bold tracking-widest
            text-emerald-900 dark:text-emerald-950
          '''),
          WText('\$84.00', className: '''
            text-5xl font-bold tracking-tight
            text-emerald-950 dark:text-emerald-950
          '''),
          WDiv(className: 'flex flex-row items-center gap-2', children: [
            WIcon(Icons.lock, className: 'size-4 text-emerald-900 dark:text-emerald-950'),
            WText('Price locked for 24 hours', className: 'text-xs text-emerald-900 dark:text-emerald-950'),
          ]),
        ]),
      ),
      WDiv(className: 'flex flex-col gap-3', children: [
        WDiv(className: 'flex flex-row justify-between', children: [
          WText('Your item', className: 'text-sm text-slate-600 dark:text-slate-400'),
          WText('\$84.00', className: 'text-sm text-slate-950 dark:text-slate-100'),
        ]),
        WDiv(className: 'flex flex-row justify-between', children: [
          WText('Pickup + selling fees', className: 'text-sm text-slate-600 dark:text-slate-400'),
          WText('\$0.00', className: 'text-sm text-slate-950 dark:text-slate-100'),
        ]),
        WDiv(className: '''
          flex flex-row justify-between pt-3 border-t
          border-slate-200 dark:border-slate-700
        ''', children: [
          WText('You receive', className: '''
            text-base font-bold
            text-slate-950 dark:text-white
          '''),
          WText('\$84.00', className: '''
            text-base font-bold
            text-slate-950 dark:text-white
          '''),
        ]),
      ]),
      WButton(
        onTap: () {},
        className: '''
          w-full py-4 rounded-2xl
          bg-slate-950 dark:bg-white
          hover:bg-slate-800 dark:hover:bg-slate-200
          focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400
          disabled:opacity-50
        ''',
        child: WText('Accept offer', className: '''
          text-center text-base font-bold
          text-white dark:text-slate-950
        '''),
      ),
      WText('Free doorstep pickup. No listing. No haggling.', className: '''
        text-center text-xs
        text-slate-500 dark:text-slate-400
      '''),
    ]),
  ),
)
  • Live location sharing with a clear off switch

    Make sharing feel safe: a bold expiry countdown, named recipients and a visible stop action put control first. A copy-ready location session card with rounded-3xl surfaces and paired light and dark tokens.

    • WCard
    • WDiv
    • WIcon
    • WText
    • WBadge
    • WButton
    • WSpacer
  • Cooking timers that keep dinner in sync

    Keep the next kitchen task impossible to miss: a bold countdown, a named second timer and a clear next move. A compact cooking companion built with WCard, warm orange and quiet secondary controls.

    • WDiv
    • WIcon
    • WText
    • WBadge
    • WSpacer
    • WCard
    • WButton
  • A focus shield that makes the rules clear before you start

    Protect a work session without hiding the escape hatch. A warm hero, explicit blocked categories and always-available essentials make a focus commitment easy to trust. Built with WCard and a clear start action.

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