CustomRadioBtn constructor
CustomRadioBtn({ - Key? key,
- List<String>? buttonLables,
- List? buttonValues,
- dynamic radioButtonValue(
- dynamic
)?,
- Color? buttonColor,
- Color? selectedColor,
- String? defaultValue,
- double? hight = 35,
- double? width = 100,
- bool? horizontal = false,
- bool? enableShape = false,
- double? elevation = 4,
- ShapeBorder? customShape,
- 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);