ProRadioButton constructor

const ProRadioButton({
  1. Key? key,
  2. double? size,
  3. Color? radioColor,
  4. double? radioTitleGap,
  5. double? innerMargin,
  6. double? borderRadius,
  7. String? title,
  8. double? titleFontSize,
  9. Color? titleColor,
  10. FontWeight? titleWeight,
  11. MainAxisAlignment? mainAxisAlignment,
  12. bool? checked,
  13. dynamic value,
  14. int? index,
  15. ValueChanged? onTap,
  16. ValueChanged<int?>? getIndex,
  17. bool? skipTraversal,
})

You can modify this radio button passing values by your choice.

Implementation

const ProRadioButton({
  super.key,
  this.size,
  this.radioColor,
  this.radioTitleGap,
  this.innerMargin,
  this.borderRadius,
  this.title,
  this.titleFontSize,
  this.titleColor,
  this.titleWeight,
  this.mainAxisAlignment,
  this.checked,
  this.value,
  this.index,
  this.onTap,
  this.getIndex,
  this.skipTraversal,
});