option function

Node option({
  1. bool? disabled,
  2. String? label,
  3. bool? selected,
  4. String? value,
  5. String? id,
  6. dynamic className,
  7. dynamic style,
  8. Map<String, dynamic> p = const {},
  9. Iterable<Node> c = const [],
})

Implementation

Node option({
  bool? disabled,
  String? label,
  bool? selected,
  String? value,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'option',
        _apply([
          p
        ], {
          'disabled': disabled,
          'label': label,
          'selected': selected,
          'value': value,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);