PollStatusBar constructor

const PollStatusBar({
  1. Key? key,
  2. required int totalVotes,
  3. required PollLocale locale,
  4. DateTime? endsAt,
  5. bool hasEnded = false,
  6. bool showUndo = false,
  7. VoidCallback? onUndo,
})

Implementation

const PollStatusBar({
  super.key,
  required this.totalVotes,
  required this.locale,
  this.endsAt,
  this.hasEnded = false,
  this.showUndo = false,
  this.onUndo,
});