Checkbox constructor
const
Checkbox({
- Key? key,
- required int radioIndex,
- required void onValueChangedAtIndex(),
- bool disable = false,
- bool isSelected = false,
- EdgeInsets? iconPadding,
- Widget? child,
- bool childOnRight = true,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisSize mainAxisSize = MainAxisSize.min,
- 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});