YmFormItemRadio constructor

YmFormItemRadio(
  1. List<String> labels,
  2. List<int> values,
  3. int value, {
  4. String label = "",
  5. Size size = const Size(120, 40),
  6. double fontSize = 14,
  7. Color textColor = const Color(0xff666666),
  8. Color labelTextColor = const Color(0xff333333),
  9. dynamic onChanged(
    1. bool checked,
    2. dynamic value
    )?,
})

Implementation

YmFormItemRadio(this.labels,
    this.values,
    this.value, {
      this.label = "",
      this.size = const Size(120, 40),
      this.fontSize = 14,
      this.textColor = const Color(0xff666666),
      this.labelTextColor = const Color(0xff333333),
      this.onChanged,
    });