simplePollLargeTextPreview function

  1. @SimplePollsBrightnessPreview('Results poll at 200% text', textScaleFactor: 2, size: Size(420, 900))
WidgetBuilder simplePollLargeTextPreview()

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}),
  );
}