onCastVote property
Callback invoked when the user wants to cast a vote.
The PollOption parameter is the option the user wants to vote for.
Implementation
final ValueChanged<PollOption>? onCastVote;
Callback invoked when the user wants to cast a vote.
The PollOption parameter is the option the user wants to vote for.
final ValueChanged<PollOption>? onCastVote;