button function

DomNode button(
  1. {bool autofocus,
  2. bool disabled,
  3. dynamic form,
  4. String formaction,
  5. String formenctype,
  6. String formmethod,
  7. bool formnovalidate,
  8. String formtarget,
  9. String name,
  10. String type,
  11. String value,
  12. String id,
  13. dynamic className,
  14. dynamic style,
  15. Map<String, dynamic> p = const {},
  16. @deprecated Map<String, dynamic> props = const {},
  17. Iterable<DomNode> c = const [],
  18. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode button(
        {bool autofocus,
        bool disabled,
        form,
        String formaction,
        String formenctype,
        String formmethod,
        bool formnovalidate,
        String formtarget,
        String name,
        String type,
        String value,
        String id,
        className,
        style,
        Map<String, dynamic> p: const {},
        @deprecated Map<String, dynamic> props: const {},
        Iterable<DomNode> c: const [],
        @deprecated Iterable<DomNode> children: const []}) =>
    h(
        'button',
        _apply([
          p,
          props
        ], {
          'autofocus': autofocus,
          'disabled': disabled,
          'form': form,
          'formaction': formaction,
          'formenctype': formenctype,
          'formmethod': formmethod,
          'formnovalidate': formnovalidate,
          'formtarget': formtarget,
          'name': name,
          'type': type,
          'value': value,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));