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