Polls.viewPolls constructor
Polls.viewPolls({})
this creates view for see polls result
Implementation
Polls.viewPolls(
{required this.children,
required this.question,
this.userChoice,
this.leadingPollStyle,
this.pollStyle,
this.backgroundColor = Colors.blue,
this.leadingBackgroundColor = Colors.blueAccent,
this.onVoteBackgroundColor = Colors.blueGrey,
this.iconColor = Colors.black})
: allowCreatorVote = false,
getTotal = null,
highest = null,
voteData = null,
currentUser = null,
creatorID = null,
getHighest = null,
outlineColor = Colors.transparent,
viewType = PollsType.readOnly,
onVote = null,
assert(children != null),
assert(question != null);