CustomRadio constructor

const CustomRadio({
  1. Key? key,
  2. required String text,
  3. bool value = false,
  4. required Color color,
  5. void onChanged(
    1. bool?
    )?,
})

Implementation

const CustomRadio({
  super.key,
  required this.text,
  this.value = false,
  required this.color,
  this.onChanged,
});