createInputElement function

HTMLInputElement createInputElement([
  1. String? type
])

Implementation

HTMLInputElement createInputElement([String? type]) {
  type = type?.trim().toLowerCase() ?? '';
  return HTMLInputElement()..type = type;
}