RadioButtonList constructor

RadioButtonList(
  1. List<RadioButtonItem> items, {
  2. Key? key,
  3. dynamic onChanged(
    1. dynamic value
    )?,
  4. String? title,
  5. bool isVertical = false,
  6. bool isExpanded = false,
  7. Color? activeColor,
  8. MaterialStateProperty<Color?>? fillColor,
  9. Color? focusColor,
  10. Color? hoverColor,
  11. MaterialStateProperty<Color?>? overlayColor,
  12. TextStyle? textStyle,
  13. int flex = 1,
  14. Color? unselectedColor,
})

Implementation

RadioButtonList(this.items,
    {super.key,
    this.onChanged,
    this.title,
    this.isVertical = false,
    this.isExpanded = false,
    this.activeColor,
    this.fillColor,
    this.focusColor,
    this.hoverColor,
    this.overlayColor,
    TextStyle? textStyle,
    this.flex = 1,
    this.unselectedColor})
    : textStyle = textStyle ?? Get.find<AppFonts>().S();