PollOptionButton constructor
const
PollOptionButton({
- Key? key,
- required String label,
- required VoidCallback onPressed,
- TextStyle? textStyle,
- OutlinedBorder shape = const StadiumBorder(),
- bool showSelectionIndicator = false,
- bool isSelected = false,
Implementation
const PollOptionButton({
super.key,
required this.label,
required this.onPressed,
this.textStyle,
this.shape = const StadiumBorder(),
this.showSelectionIndicator = false,
this.isSelected = false,
});