PollButtonsWidget constructor
const
PollButtonsWidget({
- Key? key,
- required PollOptions optionModel,
- required dynamic onPressed(),
- TextStyle? optionsStyle,
- OutlinedBorder borderShape = const StadiumBorder(),
Implementation
const PollButtonsWidget({
Key? key,
required this.optionModel,
required this.onPressed,
this.optionsStyle,
this.borderShape = const StadiumBorder(),
}) : super(key: key);