input function

Element input({
  1. required String name,
  2. String type = 'text',
  3. Object? value,
  4. String? id,
  5. String? classes,
  6. Map<String, Object?> attributes = const {},
})

Implementation

Element input({
  required String name,
  String type = 'text',
  Object? value,
  String? id,
  String? classes,
  Map<String, Object?> attributes = const {},
}) => _tag('input', const [], id, classes, {
  'type': type,
  'name': name,
  'value': value,
  ...attributes,
});