CheckBox constructor
const
CheckBox({
- Key? key,
- bool? value = false,
- required CheckBoxStateBuilder stateBuilder,
- bool useNull = false,
- ValueCallback<
bool?> ? onChanged, - Decoration? decoration,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
Implementation
const CheckBox({
super.key,
this.value = false,
required this.stateBuilder,
this.useNull = false,
this.onChanged,
this.decoration,
this.margin,
this.padding,
});