Skip to content
Türkçe
All snippets

A parcel pickup pass that gets you out the door

Turn a delivered parcel into a clear next step: a bold pickup code, collection deadline and locker directions. A copy-ready Flutter pass with rounded-3xl surfaces and light/dark colour pairs.

  • WDiv
  • WIcon
  • WText
  • WBadge
  • WCard
  • WButton
preview
a_parcel_pickup_pass_that_gets_you_out_t_alrsvp.dart
WDiv(
  className: '''
    w-full p-5
    flex flex-col gap-5
    bg-slate-50 dark:bg-slate-950
  ''',
  children: [
    WDiv(className: 'flex flex-row items-center gap-3', children: [
      WIcon(Icons.inventory, className: '''
        size-6
        text-slate-950 dark:text-slate-100
      '''),
      WText('YOUR DELIVERY', className: '''
        flex-1 text-xs font-bold tracking-widest
        text-slate-600 dark:text-slate-400
      '''),
      WBadge('Ready to collect', className: '''
        px-3 py-1
        bg-slate-200 dark:bg-slate-800
        text-slate-800 dark:text-slate-200
      '''),
    ]),
    WText('A little joy.\nJust around the corner.', className: '''
      text-3xl font-bold leading-tight
      text-slate-950 dark:text-slate-50
    '''),
    WCard(
      className: '''
        p-6 rounded-3xl
        bg-emerald-200 dark:bg-emerald-300
      ''',
      child: WDiv(className: 'flex flex-col gap-3', children: [
        WDiv(className: 'flex flex-row items-center gap-2', children: [
          WIcon(Icons.lock_open, className: '''
            size-6
            text-emerald-950 dark:text-emerald-950
          '''),
          WText('YOUR PICKUP CODE', className: '''
            text-xs font-bold tracking-widest
            text-emerald-950 dark:text-emerald-950
          '''),
        ]),
        WText('482 916', className: '''
          text-5xl font-bold tracking-wide
          text-emerald-950 dark:text-emerald-950
        '''),
        WText('Enter this code on the locker screen.', className: '''
          text-sm
          text-emerald-900 dark:text-emerald-900
        '''),
        WDiv(className: '''
          pt-3 border-t
          border-emerald-700 dark:border-emerald-700
        ''', child: WText('Collect by Fri, 20 Nov at 20:00', className: '''
          text-sm font-semibold
          text-emerald-950 dark:text-emerald-950
        ''')),
      ]),
    ),
    WCard(
      className: '''
        p-5 rounded-3xl border
        border-slate-200 dark:border-slate-700
        bg-white dark:bg-slate-900
      ''',
      child: WDiv(className: 'flex flex-col gap-4', children: [
        WDiv(className: 'flex flex-row items-center gap-3', children: [
          WIcon(Icons.location_on, className: '''
            size-8
            text-slate-600 dark:text-slate-300
          '''),
          WDiv(className: 'flex-1 flex flex-col gap-1', children: [
            WText('Willow Street lockers', className: '''
              text-base font-bold
              text-slate-950 dark:text-slate-50
            '''),
            WText('24 Willow St · beside the bakery', className: '''
              text-xs
              text-slate-600 dark:text-slate-400
            '''),
          ]),
        ]),
        WText('Open 24 hours · 4 min walk', className: '''
          text-sm
          text-slate-600 dark:text-slate-400
        '''),
        WButton(onTap: () {}, className: '''
          w-full py-3 rounded-2xl
          bg-slate-950 dark:bg-slate-100
          hover:bg-slate-800 dark:hover:bg-white
          focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400
          disabled:opacity-50
        ''', child: WText('Get directions', className: '''
          text-center font-semibold
          text-white dark:text-slate-950
        ''')),
      ]),
    ),
    WText('Parcel #PK2048 · 1 package', className: '''
      text-xs text-center
      text-slate-500 dark:text-slate-400
    '''),
  ],
)
  • Flutter Bookshelf Card with Book Spine Shelves and Reading Goal

    A reading tracker card for Flutter book apps, built with Wind: two wooden shelves of book spines in varied heights, colours and foil bands, a flat stack, a bookmark ribbon on the current read, a reading challenge badge and a page progress bar. The spine counts match the goal it reports.

    • WDiv
    • WText
    • WButton
  • Flutter Restaurant Floor Plan Card with Table Occupancy Status

    A Flutter restaurant floor plan card for host stand apps: round tops, banquette booths, a communal eight-top and a bar with stools, each table coloured free, seated or held. Every table is a div at a fixed pixel coordinate in wind_kit over WDynamic, no canvas, no image.

    • WDiv
    • WIcon
    • WText
    • WButton
  • Flutter Hiking Trail Card with Elevation Profile and Waypoints

    A Flutter hiking trail card for outdoor, trail running and cycling apps: a 34-step elevation profile with a ridge line, markers for trailhead, summit and lake, a distance axis, trip stat tiles, a snow advisory strip and a navigation button. Built with wind_kit className strings only.

    • WDiv
    • WText
    • WIcon
    • WButton