simplePollEndedPreview function
Implementation
@SimplePollsBrightnessPreview('Ended poll')
WidgetBuilder simplePollEndedPreview() {
return (context) => _InteractivePollPreview(
initialPoll: _buildPoll(hasEnded: true),
initialVote: const PollVote<int>({2}),
);
}