RadioButtonList constructor
RadioButtonList(
- List<
RadioButtonItem> items, { - Key? key,
- dynamic onChanged(
- dynamic value
- String? title,
- bool isVertical = false,
- bool isExpanded = false,
- Color? activeColor,
- MaterialStateProperty<
Color?> ? fillColor, - Color? focusColor,
- Color? hoverColor,
- MaterialStateProperty<
Color?> ? overlayColor, - TextStyle? textStyle,
- int flex = 1,
- 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();