$checkbox function

CHECKBOXElement $checkbox({
  1. Object? id,
  2. Object? name,
  3. Object? classes,
  4. Object? style,
  5. Object? placeholder,
  6. Map<String, String>? attributes,
  7. bool? checked,
  8. Object? value,
  9. bool? hidden,
  10. bool disabled = false,
  11. bool commented = false,
})

Creates an input node of type checkbox.

Implementation

CHECKBOXElement $checkbox(
    {Object? id,
    Object? name,
    Object? classes,
    Object? style,
    Object? placeholder,
    Map<String, String>? attributes,
    bool? checked,
    Object? value,
    bool? hidden,
    bool disabled = false,
    bool commented = false}) {
  return CHECKBOXElement(
      id: id,
      name: name,
      type: 'checkbox',
      placeholder: placeholder,
      classes: classes,
      style: style,
      attributes: attributes,
      value: value,
      checked: checked,
      hidden: hidden,
      disabled: disabled,
      commented: commented);
}