IndividualVotes constructor

IndividualVotes(
  1. int index, {
  2. bool? voteResult,
  3. String? groupPairing,
})

Creates individual dots that react with the group overall color :

index is the increasing index starting at 0 for the dots from left to right.

voteResult is TRUE if voted for, FALSE if vote against and NULL if not voted.

groupPairing is a nullable String used to group dots around a single appearance and compare : see GroupPairing.

Implementation

IndividualVotes(this.index, {this.voteResult, this.groupPairing});