RadioButtonGroup constructor
RadioButtonGroup({
- Key? key,
- required List<
String?> labels, - String? picked,
- List<
String> ? disabled, - void onChange()?,
- void onSelected(
- String selected
- TextStyle labelStyle = const TextStyle(),
- Color? activeColor,
- GroupedButtonsOrientation orientation = GroupedButtonsOrientation.VERTICAL,
- Widget itemBuilder()?,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- EdgeInsetsGeometry margin = EdgeInsets.zero,
Implementation
RadioButtonGroup({
Key? key,
required this.labels,
this.picked,
this.disabled,
this.onChange,
this.onSelected,
this.labelStyle = const TextStyle(),
this.activeColor,
this.orientation = GroupedButtonsOrientation.VERTICAL,
this.itemBuilder,
this.padding = EdgeInsets.zero,
this.margin = EdgeInsets.zero,
}) : super(key: key);