RadioButtonList constructor

RadioButtonList(
  1. List<RadioButtonItem> items, {
  2. dynamic onChanged(
    1. dynamic value
    )?,
  3. String? title,
  4. bool isVertical = false,
  5. dynamic hoveredColor,
  6. bool isExpanded = false,
  7. TextStyle? textStyle,
  8. int flex = 1,
  9. dynamic color,
})

Implementation

RadioButtonList(this.items,
    {this.onChanged,
    this.title,
    this.isVertical = false,
    this.hoveredColor,
    this.isExpanded = false,
    this.textStyle,
    this.flex = 1,
    this.color}) {
  textStyle ??= Get.find<AppFonts>().S();
}