IDSChipsRadioButton constructor
const
IDSChipsRadioButton({
- Key? key,
- required String text,
- required bool isSelected,
- required VoidCallback onTap,
- Color? chipsBorderColor = Colors.grey,
- Color? chipsSelectedBgColor = Colors.blue,
- Color? chipsNormalBgColor = Colors.white,
- Color? selectedTextColor = Colors.white,
- Color? textColor = Colors.black54,
- 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,
});