NiceAttractionVoting constructor
- Key? key,
- required List<
NiceEventAttraction> attractions, - ValueChanged<
String> ? onVote, - ValueChanged<
String> ? onUnvote, - Set<
String> votedIds = const {}, - int? maxVotes,
- bool closed = false,
- NiceVotingSortBy sortBy = NiceVotingSortBy.votes,
- bool showResults = true,
Implementation
const NiceAttractionVoting({
super.key,
required this.attractions,
this.onVote,
this.onUnvote,
this.votedIds = const {},
this.maxVotes,
this.closed = false,
this.sortBy = NiceVotingSortBy.votes,
this.showResults = true,
});