simplePollMaterial3Preview function
Implementation
@SimplePollsBrightnessPreview('Material 3 poll')
WidgetBuilder simplePollMaterial3Preview() {
return (context) => _InteractivePollPreview(
initialPoll: _buildPoll(allowsMultipleAnswers: true),
style: const PollStyle(variant: StyleVariant.material3),
);
}