INPUTElement constructor

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

Implementation

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