flutter_polls
0.1.6, released 3 years ago by thenifemi.com
Customizable polls widget for Flutter applications.
What it does
Provides a customizable widget for displaying polls and collecting user votes with animated progress bars, options, and callbacks.
AI-written summary of version 0.1.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a poll widget inside a Flutter application.
- You want custom styling for poll options, voted states, and progress indicators.
Skip it when
- You require a full backend polling infrastructure out-of-the-box.
Strengths
- Highly customizable UI elements and parameters.
- Built-in support for animation and progress indicators via percent_indicator.
Weaknesses
- Limited to rendering the UI and handling basic vote callbacks; backend logic must be implemented separately.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
FlutterPolls(
pollId: '1',
onVoted: (PollOption pollOption, int newTotalVotes) {
print('Voted: ${pollOption.id}');
},
pollTitle: Text('Poll Title'),
pollOptions: [
PollOption(id: '1', title: Text('Option A'), votes: 5),
PollOption(id: '2', title: Text('Option B'), votes: 10),
],
)Alternatives
Packages that do the same job and could replace flutter_polls.
- kalender
A customizable calendar widget with day, multi-day, month, and schedule views.
92Compare - syncfusion_flutter_sliders
UI-rich slider, range slider, and range selector widgets with numeric and date support.
90Compare - flutter_joystick
A virtual joystick widget for Flutter applications with high customization.
81Compare - animated_custom_dropdown
Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.
76Compare
Works with
Packages commonly used together with flutter_polls: ones it builds on, ones built on it, and its own family.