simplePollLargeTextPreview function
- @SimplePollsBrightnessPreview('Results poll at 200% text', textScaleFactor: 2, size: Size(420, 900))
Implementation
@SimplePollsBrightnessPreview(
'Results poll at 200% text',
textScaleFactor: 2,
size: Size(420, 900),
)
WidgetBuilder simplePollLargeTextPreview() {
return (context) => _InteractivePollPreview(
initialPoll: _buildPoll(),
initialVote: const PollVote<int>({3}),
);
}