ModulaRadioGroup<T> constructor
const
ModulaRadioGroup<T> ({
- required List<
T> options, - required T selected,
- required ValueChanged<
T> onChanged, - Key? key,
- Axis direction = Axis.vertical,
- ModulaRadioStyle style = ModulaRadioStyle.text,
- String labelBuilder(
- T
- IconData iconBuilder(
- T
- Color activeColor = Colors.blue,
- Color? inactiveColor,
- bool isDense = false,
Implementation
const ModulaRadioGroup({
required this.options,
required this.selected,
required this.onChanged,
super.key,
this.direction = Axis.vertical,
this.style = ModulaRadioStyle.text,
this.labelBuilder,
this.iconBuilder,
this.activeColor = Colors.blue,
this.inactiveColor,
this.isDense = false,
});