SimplePollsWidget constructor
const
SimplePollsWidget({
- Key? key,
- required PollFrameModel model,
- EdgeInsets? margin,
- EdgeInsets? padding,
- Decoration? decoration,
- dynamic onSelection(
- PollFrameModel frameModel,
- PollOptions option
- String languageCode = 'en',
- TextStyle? optionsStyle,
- OutlinedBorder optionsBorderShape = const StadiumBorder(),
- dynamic onReset(
- PollFrameModel frameModel
Implementation
const SimplePollsWidget({
Key? key,
required this.model,
this.margin,
this.padding,
this.decoration,
this.onSelection,
this.languageCode = 'en',
this.optionsStyle,
this.optionsBorderShape = const StadiumBorder(),
this.onReset,
}) : super(key: key);