listViewOfRadioButton method
Implementation
YYDialog listViewOfRadioButton({
List<RadioItem>? items,
double? height,
Color? color,
Color? activeColor,
int? intialValue,
Function(int?)? onClickItemListener,
}) {
Size size = MediaQuery.of(context!).size;
return this.widget(
Container(
height: height,
constraints: BoxConstraints(
minHeight: size.height * .1,
minWidth: size.width * .1,
maxHeight: size.height * .5,
),
child: YYRadioListTile(
items: items,
intialValue: intialValue,
color: color,
activeColor: activeColor,
onChanged: onClickItemListener,
),
),
);
}