IDSChipsRadioGroup constructor

const IDSChipsRadioGroup({
  1. Key? key,
  2. required List<String> options,
  3. required dynamic onChanged(
    1. String
    ),
  4. required String selectedOption,
  5. double chipsHeight = 40,
  6. Color? chipsBorderColor = Colors.grey,
  7. Color? chipsSelectedBgColor = Colors.blue,
  8. Color? chipsNormalBgColor = Colors.white,
  9. Color? selectedTextColor = Colors.white,
  10. Color? textColor = Colors.black54,
  11. BorderRadius? borderRadius,
  12. Axis? scrollDirection,
})

Creates a new instance of IDSChipsRadioGroup.

Implementation

const IDSChipsRadioGroup({
  super.key,
  required this.options,
  required this.onChanged,
  required this.selectedOption,
  this.chipsHeight = 40,
  this.chipsBorderColor = Colors.grey,
  this.chipsSelectedBgColor = Colors.blue,
  this.chipsNormalBgColor = Colors.white,
  this.selectedTextColor = Colors.white,
  this.textColor = Colors.black54,
  this.borderRadius,
  this.scrollDirection,
});