PollOptionButton constructor

const PollOptionButton({
  1. Key? key,
  2. required String label,
  3. required VoidCallback onPressed,
  4. TextStyle? textStyle,
  5. OutlinedBorder shape = const StadiumBorder(),
  6. bool showSelectionIndicator = false,
  7. 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,
});