OptionButton constructor

const OptionButton({
  1. required String labelText,
  2. required bool isSelected,
  3. Key? key,
  4. VoidCallback? onPressed,
  5. String? description,
})

Option button used on Radio

Implementation

const OptionButton({
  required this.labelText,
  required this.isSelected,
  super.key,
  this.onPressed,
  this.description,
});