ZetaListItem.radio constructor
Creates a ZetaListItem with a ZetaRadio in the trailing widget space.
Implementation
ZetaListItem.radio({
required this.primaryText,
required dynamic value,
this.secondaryText,
this.leading,
this.showDivider,
dynamic groupValue,
super.key,
super.rounded,
ValueChanged<dynamic>? onChanged,
}) : trailing = ZetaRadio<dynamic>(
value: value,
groupValue: groupValue,
onChanged: onChanged,
),
onTap = (() => onChanged?.call(value));