VotesPage constructor

const VotesPage({
  1. Key? key,
  2. required List<PollVoteModel?>? pollOptions1VotesList,
  3. required List<PollVoteModel?>? pollOptions2VotesList,
  4. required List<PollVoteModel?>? pollOptions3VotesList,
  5. required List<PollVoteModel?>? pollOptions4VotesList,
  6. required String? pollOption1,
  7. required String? pollOption2,
  8. required String? pollOption3,
  9. required String? pollOption4,
  10. required dynamic loc,
})

Implementation

const VotesPage(
    {Key? key,
    required this.pollOptions1VotesList,
    required this.pollOptions2VotesList,
    required this.pollOptions3VotesList,
    required this.pollOptions4VotesList,
    required this.pollOption1,
    required this.pollOption2,
    required this.pollOption3,
    required this.pollOption4,
    required this.loc})
    : super(key: key);