PollWidget constructor
const
PollWidget({
- Key? key,
- required String question,
- required List<
PollOption> options, - ValueChanged<
int> ? onVote, - String? totalLabel,
- bool allowRevote = false,
- String? closedAt,
Implementation
const PollWidget({
super.key,
required this.question,
required this.options,
this.onVote,
this.totalLabel,
this.allowRevote = false,
this.closedAt,
});