poll property

Poll<T> poll
final

The main poll widget. This is a fully controlled widget: it never mutates poll or vote, it only reports intended changes via onVoteChanged. Pass the updated poll/vote back in once the host app has applied the change (see Poll.withVoteApplied).

Implementation

final Poll<T> poll;