SimplePollsWidget constructor

const SimplePollsWidget({
  1. Key? key,
  2. required PollFrameModel model,
  3. EdgeInsets? margin,
  4. EdgeInsets? padding,
  5. Decoration? decoration,
  6. dynamic onSelection(
    1. PollFrameModel frameModel,
    2. PollOptions option
    )?,
  7. String languageCode = 'en',
  8. TextStyle? optionsStyle,
  9. OutlinedBorder optionsBorderShape = const StadiumBorder(),
  10. dynamic onReset(
    1. 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);