VoteButton constructor
- Key? key,
- required int voteCount,
- required bool hasVoted,
- required VoidCallback onPress,
- bool disabled = false,
Implementation
const VoteButton({
super.key,
required this.voteCount,
required this.hasVoted,
required this.onPress,
this.disabled = false,
});