Pulse · Poll Post — Social Flutter screen
Social
86 views

Pulse · Poll Post

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

Poll Post is a scrollable feed of vote-able poll cards for the Pulse social app, built as pure self-contained Flutter. A 56px _TopBar with a back chevron and 'Poll' title sits above a ListView of two _PollCard instances. Each card opens with a gradient circular _Monogram of the author's initials, a verified name row (indigo Icons.verified), the @handle and relative time, and an Icons.more_horiz overflow. Below the bold question, _OptionRow renders each choice: before voting it is a rounded _surfaceAlt pill with the label in indigo #6E56F7; the moment you tap, the whole card re-renders through voted state so every row becomes a ClipRRect result bar — a FractionallySizedBox tints each row to its percentage width, the chosen option gains a brighter fill, a check_circle mark and an indigo border, and a right-aligned percentage. A meta line shows the abbreviated vote count (1.2k votes), a footer like '1 day left', and a 'You voted' confirmation, while an ended poll (Dev Kapoor's digest question) loads already resolved with a 'Final results · ended' label and taps disabled. A bottom _ActionBar carries like, reply, share and bookmark affordances. Typography is the bundled Inter font throughout; the palette is a dark near-mono (#0B0B0F background, #1D1D26 surface, #26262F hairlines) with the indigo brand accent. It is backend-agnostic and drop-in: state is driven locally by a _choice int, and onBack plus onVote(int) callbacks are injected so you wire real vote submission. SafeArea, ellipsis overflow guards and no network images keep it overflow-proof.

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

Licensed for unlimited commercial projects · resale prohibited · License

What's included

  • _PollCard widget cluster: gradient _Monogram, verified name/handle/time header, bold question, option list, vote meta and action bar
  • _OptionRow with two rendered states — pre-vote indigo outline pill and post-vote FractionallySizedBox result bar with percentage and chosen highlight
  • Local voting behaviour: a _choice int flips every row to results, marks the chosen option with check_circle and an indigo border, and shows a 'You voted' tag
  • An already-ended poll variant that loads final results, disables taps, and reads 'Final results · ended'
  • Injected onBack and onVote(int) callbacks plus a _votesLabel helper that abbreviates counts (1204 to 1.2k votes)
  • Bundled Inter font, dark near-mono theme with #6E56F7 accent, _TopBar, _ActionBar and _Monogram, all pure Flutter with SafeArea

Use cases

  • Ship an in-feed poll post so followers vote on product or roadmap decisions without leaving the timeline
  • Show a resolved community poll with locked final-results percentages after its window closes
  • Collect quick audience preference votes (digest frequency, feature ordering) inside a social or community app
  • Drop into a Linear/Superhuman-style feed as the reusable vote-and-reveal card for any question post

Related screens