RadioCore constructor

const RadioCore({
  1. Key? key,
  2. required int radioIndex,
  3. bool disable = false,
  4. bool isSelected = false,
  5. EdgeInsets? iconPadding,
  6. Widget? child,
  7. bool childOnRight = true,
  8. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  9. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  10. MainAxisSize mainAxisSize = MainAxisSize.min,
  11. Image? selectedImage,
  12. Image? unselectedImage,
  13. Image? disSelectedImage,
  14. Image? disUnselectedImage,
  15. VoidCallback? onRadioItemClick,
  16. HitTestBehavior behavior = HitTestBehavior.translucent,
})

Implementation

const RadioCore(
    {Key? key,
    required this.radioIndex,
    this.disable = false,
    this.isSelected = false,
    this.iconPadding,
    this.child,
    this.childOnRight = true,
    this.mainAxisAlignment = MainAxisAlignment.start,
    this.crossAxisAlignment = CrossAxisAlignment.center,
    this.mainAxisSize = MainAxisSize.min,
    this.selectedImage,
    this.unselectedImage,
    this.disSelectedImage,
    this.disUnselectedImage,
    this.onRadioItemClick,
    this.behavior = HitTestBehavior.translucent})
    : super(key: key);