ModulaRadioGroup<T> constructor

const ModulaRadioGroup<T>({
  1. required List<T> options,
  2. required T selected,
  3. required ValueChanged<T> onChanged,
  4. Key? key,
  5. Axis direction = Axis.vertical,
  6. ModulaRadioStyle style = ModulaRadioStyle.text,
  7. String labelBuilder(
    1. T
    )?,
  8. IconData iconBuilder(
    1. T
    )?,
  9. Color activeColor = Colors.blue,
  10. Color? inactiveColor,
  11. 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,
});