Pulse · Create Poll — Social Flutter screen
Social
49 views

Pulse · Create Poll

Pulse · Create Poll is a production-ready Social Flutter screen from FlutterKit Pro, installable with flutterkit add social-create-poll.

Create Poll is the inline poll-composer sheet for Pulse's post editor, laid out as a Column between a fixed 56px _TopBar (a muted Cancel action, centered 'Create poll' title) and a pinned _CreateBar holding a full-width 52px indigo 'Add to post' FilledButton. The scrollable body is a ListView of clearly sectioned blocks driven by uppercase letter-spaced _Label headers: QUESTION shows a rounded _Field with the prompt and a live '30/140' character counter; OPTIONS renders 2–4 _OptionField rows on the alt surface, each with a remove-circle IconButton that disappears once only two options remain, plus an _AddOption row (indigo plus badge) that caps at four. POLL LENGTH is a Row of three equal-width _LengthChip buttons (1 day / 3 days / 1 week) where the selected chip fills with a translucent indigo tint and brand border, and a _MultiRow pairs 'Allow multiple answers' with a brand-tracked Switch. State lives in a StatefulWidget: _options list, _duration index, and _multi bool all update via setState, so add/remove, chip selection, and the toggle react instantly. The palette is Pulse's dark near-mono — #0B0B0F background, #15151B and #1D1D26 surfaces, #26262F hairlines, #6E56F7 brand indigo with a #9B8CFF accent — over an F4F4F7/8A8A99 text ramp in the bundled Inter font. Fully self-contained pure Flutter: its own ThemeData.dark, SafeArea, no network images, overflow-proof, and backend-agnostic through injected onCancel and onCreate callbacks.

Reveal the one-line command to drop this screen into your project.

Licensed for unlimited commercial projects · resale prohibited · License

What's included

  • Fixed 56px _TopBar with a muted Cancel tap target and centered 'Create poll' title over a hairline border
  • _Field question row rendering the prompt plus a live '30/140' character counter on the dark surface
  • _OptionField rows (2–4) with remove-circle IconButtons that hide once only two options remain
  • _AddOption row with an indigo plus badge that adds options via setState and caps the list at four
  • _LengthChip trio (1 day / 3 days / 1 week) with indigo-tinted selected state and _MultiRow brand Switch for multiple answers
  • Pinned _CreateBar with a full-width indigo 'Add to post' FilledButton wired to injected onCancel / onCreate callbacks, bundled Inter font

Use cases

  • Let users attach a poll to a new post when composing an update in a social feed app
  • Gather quick product feedback such as which feature to ship first in a community app
  • Run time-boxed team or audience votes with selectable 1 day, 3 days, or 1 week durations
  • Enable single- or multiple-choice audience polls via the allow-multiple-answers toggle

Related screens