CHECKBOXElement constructor
CHECKBOXElement({})
Implementation
CHECKBOXElement(
{Map<String, dynamic>? attributes,
Object? id,
Object? name,
Object? type,
Object? placeholder,
Object? classes,
Object? style,
Object? value,
bool? checked,
bool? hidden,
bool disabled = false,
bool commented = false})
: super(
id: id,
classes: classes,
style: style,
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
},
hidden: hidden,
commented: commented);