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