option function

Element option(
  1. dynamic children, {
  2. String? value,
  3. bool? selected,
  4. String? id,
  5. String? className,
  6. Map<String, dynamic>? attributes,
})

Implementation

Element option(
  dynamic children, {
  String? value,
  bool? selected,
  String? id,
  String? className,
  Map<String, dynamic>? attributes,
}) => _el(
  'option',
  children,
  id: id,
  className: className,
  attributes: {'value': value, 'selected': selected, ...?attributes},
);