ArcaneRadio constructor
const
ArcaneRadio({
- required bool selected,
- String? label,
- String? description,
- ComponentSize size = ComponentSize.md,
- ColorVariant color = ColorVariant.primary,
- bool disabled = false,
- void onSelected()?,
- void onTap()?,
- Key? key,
Implementation
const ArcaneRadio({
required this.selected,
this.label,
this.description,
this.size = ComponentSize.md,
this.color = ColorVariant.primary,
this.disabled = false,
void Function()? onSelected,
void Function()? onTap,
super.key,
}) : _onSelected = onSelected ?? onTap;