BasfCheckbox constructor
const
BasfCheckbox({})
Example:
BasfCheckbox(
text: 'Default value',
value: _value,
onChanged: (value) {
_value = !value;
setState(() {});
},
),
Implementation
const BasfCheckbox({
required this.value,
required this.onChanged,
super.key,
this.text,
this.reverse = false,
this.alignment = MainAxisAlignment.start,
this.inactiveColor,
this.color,
this.activeSplashColor,
this.inactiveSplashColor,
this.icon,
this.iconColor,
});