YmRadioButton constructor

YmRadioButton({
  1. required int value,
  2. required int groupValue,
  3. required dynamic onChanged(
    1. dynamic value
    ),
  4. String text = "",
  5. Size size = const Size(140, 40),
  6. double fontSize = 14,
  7. Color textColor = const Color(0xff333333),
  8. Color color = Colors.indigo,
})

Implementation

YmRadioButton({
  required this.value,
  required this.groupValue,
  required this.onChanged,
  this.text = "",
  this.size = const Size(140, 40),
  this.fontSize = 14,
  this.textColor = const Color(0xff333333),
  this.color = Colors.indigo,
});