CustomRadioGroup constructor
const
CustomRadioGroup({
- Key? key,
- String? label,
- TextStyle? labelStyle,
- required Map<
String, String> items, - String? selectedKey,
- String? errorMsg,
- Color? errorColor,
- void onChanged()?,
- Color? radioActiveColor,
- Color? radioBorderColor,
- Color? textColor,
- bool isDisabled = false,
- bool isOptionalMark = false,
- Color? disabledTextColor,
- Color? disabledRadioColor,
- RadioGroupLayout layout = RadioGroupLayout.vertical,
- bool showAsCards = false,
Implementation
const CustomRadioGroup({
Key? key,
this.label,
this.labelStyle,
required this.items,
this.selectedKey,
this.errorMsg,
this.errorColor,
this.onChanged,
this.radioActiveColor,
this.radioBorderColor,
this.textColor,
this.isDisabled = false,
this.isOptionalMark = false,
this.disabledTextColor,
this.disabledRadioColor,
this.layout = RadioGroupLayout.vertical,
this.showAsCards = false,
}) : super(key: key);