CHECKBOXElement constructor
CHECKBOXElement({})
Implementation
CHECKBOXElement(
{Map<String, dynamic>? attributes,
super.id,
Object? name,
Object? type,
Object? placeholder,
super.classes,
super.style,
Object? value,
bool? checked,
super.hidden,
bool disabled = false,
super.commented})
: super(attributes: {
if (name != null) 'name': name,
'type': 'checkbox',
if (placeholder != null) 'placeholder': placeholder,
if (value != null) 'value': value,
if (checked != null) 'checked': checked,
if (disabled) 'disabled': disabled,
...?attributes
});