IDSChipsRadioButton constructor

const IDSChipsRadioButton({
  1. Key? key,
  2. required String text,
  3. required bool isSelected,
  4. required VoidCallback onTap,
  5. Color? chipsBorderColor = Colors.grey,
  6. Color? chipsSelectedBgColor = Colors.blue,
  7. Color? chipsNormalBgColor = Colors.white,
  8. Color? selectedTextColor = Colors.white,
  9. Color? textColor = Colors.black54,
  10. BorderRadius? borderRadius,
})

Creates a IDSChipsRadioButton with the provided properties.

Implementation

const IDSChipsRadioButton({
  super.key,
  required this.text,
  required this.isSelected,
  required this.onTap,
  this.chipsBorderColor = Colors.grey,
  this.chipsSelectedBgColor = Colors.blue,
  this.chipsNormalBgColor = Colors.white,
  this.selectedTextColor = Colors.white,
  this.textColor = Colors.black54,
  this.borderRadius,
});