PollStatusBar constructor
const
PollStatusBar({
- Key? key,
- required int totalVotes,
- required PollLocale locale,
- DateTime? endsAt,
- bool hasEnded = false,
- bool showUndo = false,
- VoidCallback? onUndo,
Implementation
const PollStatusBar({
super.key,
required this.totalVotes,
required this.locale,
this.endsAt,
this.hasEnded = false,
this.showUndo = false,
this.onUndo,
});