CustomRadioBtn constructor

CustomRadioBtn({
  1. Key? key,
  2. List<String>? buttonLables,
  3. List? buttonValues,
  4. dynamic radioButtonValue(
    1. dynamic
    )?,
  5. Color? buttonColor,
  6. 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

CustomRadioBtn(
    {super.key, this.buttonLables,
    this.buttonValues,
    this.radioButtonValue,
    this.buttonColor,
    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),
      assert(buttonColor != null),
      assert(selectedColor != null);