Skip to content
Türkçe
All snippets

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
preview
cooking_timers_that_keep_dinner_in_sync_z8ctox.dart
WDiv(
  className: '''
    w-full p-5 rounded-3xl
    bg-stone-100 dark:bg-stone-950
  ''',
  children: [
    WDiv(className: 'flex flex-row items-center gap-3', children: [
      WIcon(Icons.restaurant, className: 'size-6 text-stone-800 dark:text-stone-200'),
      WText('COOKING MODE', className: '''
        flex-1 text-xs font-bold tracking-widest
        text-stone-600 dark:text-stone-400
      '''),
      WBadge('2 running', className: '''
        bg-stone-200 dark:bg-stone-800
        text-stone-700 dark:text-stone-300
      '''),
    ]),
    WSpacer(className: 'h-5'),
    WText('Good timing.\nGreat dinner.', className: '''
      text-3xl font-bold leading-tight
      text-stone-950 dark:text-stone-50
    '''),
    WSpacer(className: 'h-2'),
    WText('Lemon rice & crisp green beans', className: 'text-sm text-stone-600 dark:text-stone-400'),
    WSpacer(className: 'h-6'),
    WCard(
      className: '''
        p-5 rounded-3xl
        bg-orange-200 dark:bg-orange-300
      ''',
      child: WDiv(children: [
        WDiv(className: 'flex flex-row items-center gap-2', children: [
          WIcon(Icons.timer, className: 'size-5 text-stone-900 dark:text-stone-950'),
          WText('UP NEXT', className: '''
            flex-1 text-xs font-bold tracking-widest
            text-stone-900 dark:text-stone-950
          '''),
          WText('PAN 01', className: 'text-xs text-stone-700 dark:text-stone-800'),
        ]),
        WSpacer(className: 'h-4'),
        WText('04:32', className: '''
          text-6xl font-bold tracking-tight
          text-stone-950 dark:text-stone-950
        '''),
        WText('Green beans', className: 'text-xl font-semibold text-stone-950 dark:text-stone-950'),
        WSpacer(className: 'h-2'),
        WText('Next: drain, then toss with lemon.', className: 'text-sm text-stone-700 dark:text-stone-800'),
        WSpacer(className: 'h-5'),
        WDiv(className: 'flex flex-row gap-3', children: [
          WButton(onTap: () {}, className: '''
            flex-1 px-5 py-3 rounded-2xl
            bg-stone-950 dark:bg-stone-950
            hover:bg-stone-800 dark:hover:bg-stone-800
            focus:ring-2 focus:ring-stone-600 dark:focus:ring-stone-600
            disabled:opacity-50
          ''', child: WText('Pause', className: 'text-sm font-semibold text-white dark:text-white')),
          WButton(onTap: () {}, className: '''
            px-4 py-3 rounded-2xl border
            border-stone-700 dark:border-stone-700
            hover:bg-orange-100 dark:hover:bg-orange-200
            focus:ring-2 focus:ring-stone-600 dark:focus:ring-stone-600
            disabled:opacity-50
          ''', child: WText('+1 min', className: 'text-sm font-semibold text-stone-950 dark:text-stone-950')),
        ]),
      ]),
    ),
    WSpacer(className: 'h-3'),
    WCard(
      className: '''
        p-4 rounded-2xl border
        border-stone-300 dark:border-stone-700
        bg-white dark:bg-stone-900
      ''',
      child: WDiv(className: 'flex flex-row items-center gap-3', children: [
        WIcon(Icons.hourglass_empty, className: 'size-6 text-stone-500 dark:text-stone-400'),
        WDiv(className: 'flex-1', children: [
          WText('Lemon rice', className: 'font-semibold text-stone-950 dark:text-stone-100'),
          WText('POT 02 · Low simmer', className: 'text-xs text-stone-500 dark:text-stone-400'),
        ]),
        WText('09:10', className: 'text-2xl font-semibold text-stone-950 dark:text-stone-100'),
      ]),
    ),
    WSpacer(className: 'h-4'),
    WDiv(className: 'flex flex-row items-center gap-2', children: [
      WIcon(Icons.notifications, className: 'size-4 text-stone-500 dark:text-stone-400'),
      WText('Each timer rings with its dish name.', className: '''
        flex-1 text-xs
        text-stone-500 dark:text-stone-400
      '''),
    ]),
    WSpacer(className: 'h-4'),
    WButton(onTap: () {}, className: '''
      w-full px-5 py-3 rounded-2xl border
      border-stone-300 dark:border-stone-700
      hover:bg-stone-200 dark:hover:bg-stone-800
      focus:ring-2 focus:ring-stone-400 dark:focus:ring-stone-500
      disabled:opacity-50
    ''', child: WText('Add another timer', className: 'text-sm font-semibold text-stone-800 dark:text-stone-200')),
  ],
)
  • 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
  • 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
  • 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