Checkbox constructor

const Checkbox({
  1. Key? key,
  2. required int radioIndex,
  3. required void onValueChangedAtIndex(
    1. int,
    2. bool
    ),
  4. bool disable = false,
  5. bool isSelected = false,
  6. EdgeInsets? iconPadding,
  7. Widget? child,
  8. bool childOnRight = true,
  9. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  10. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  11. MainAxisSize mainAxisSize = MainAxisSize.min,
  12. HitTestBehavior behavior = HitTestBehavior.translucent,
})

Implementation

const Checkbox(
    {Key? key,
    required this.radioIndex,
    required this.onValueChangedAtIndex,
    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.behavior = HitTestBehavior.translucent});