RadioGroup constructor

const RadioGroup({
  1. Key? key,
  2. required List<RadioEntry> items,
  3. RadioArrange orientation = RadioArrange.horizontal,
  4. IconData checkIcon = Icons.radio_button_on,
  5. IconData uncheckIcon = Icons.radio_button_off,
  6. Color selectIconColor = const Color(0xffEEEBD7),
  7. Color unSelectIconColor = const Color(0xffEEEBD7),
  8. double iconSize = 20,
  9. Color textColor = const Color(0xff333333),
  10. double textSize = 12,
  11. EdgeInsetsGeometry textPadding = const EdgeInsets.only(left: 6),
  12. EdgeInsetsGeometry itemPadding = EdgeInsets.zero,
  13. OnRadioChangeCall? changeCall,
  14. AlignStyle style = AlignStyle.wrap,
  15. double? width,
  16. String? tag,
  17. bool allowReverseSelection = true,
  18. bool isTile = false,
})

Implementation

const RadioGroup({
  Key? key,
  required this.items,
  this.orientation = RadioArrange.horizontal,
  this.checkIcon = Icons.radio_button_on,
  this.uncheckIcon = Icons.radio_button_off,
  this.selectIconColor = const Color(0xffEEEBD7),
  this.unSelectIconColor = const Color(0xffEEEBD7),
  this.iconSize = 20,
  this.textColor = const Color(0xff333333),
  this.textSize = 12,
  this.textPadding = const EdgeInsets.only(left: 6),
  this.itemPadding = EdgeInsets.zero,
  this.changeCall,
  this.style = AlignStyle.wrap,
  this.width,
  this.tag,
  this.allowReverseSelection = true,
  this.isTile = false,
}) : super(key: key);