CustomRadioBtn constructor

const CustomRadioBtn({
  1. Key? key,
  2. required List<String> buttonLables,
  3. required List buttonValues,
  4. dynamic radioButtonValue(
    1. dynamic
    )?,
  5. required Color buttonColor,
  6. required Color selectedColor,
  7. String? defaultValue,
  8. double hight = 35,
  9. double width = 100,
  10. bool horizontal = false,
  11. bool enableShape = false,
  12. double elevation = 4,
  13. ShapeBorder? customShape,
  14. bool? enableAll,
})

Implementation

const CustomRadioBtn(
    {super.key, required this.buttonLables,
    required this.buttonValues,
    this.radioButtonValue,
    required this.buttonColor,
    required this.selectedColor,
    this.defaultValue,
    this.hight = 35,
    this.width = 100,
    this.horizontal = false,
    this.enableShape = false,
    this.elevation = 4,
    this.customShape,
    this.enableAll})
    : assert(buttonLables.length == buttonValues.length);