Form constructor

const Form({
  1. String? name,
  2. String? acceptCharset,
  3. String? autoComplete,
  4. String? rel,
  5. String? action,
  6. FormMethodType? method,
  7. FormEncType? enctype,
  8. bool? noValidate,
  9. String? target,
  10. EventCallback? onSubmit,
  11. Key? key,
  12. NullableElementCallback? ref,
  13. String? id,
  14. String? title,
  15. String? style,
  16. String? className,
  17. bool? hidden,
  18. String? innerText,
  19. Widget? child,
  20. List<Widget>? children,
  21. EventCallback? onClick,
  22. Map<String, String>? additionalAttributes,
})

Implementation

const Form({
  this.name,
  this.acceptCharset,
  this.autoComplete,
  this.rel,
  this.action,
  this.method,
  this.enctype,
  this.noValidate,
  this.target,
  this.onSubmit,
  Key? key,
  NullableElementCallback? ref,
  String? id,
  String? title,
  String? style,
  String? className,
  bool? hidden,
  String? innerText,
  Widget? child,
  List<Widget>? children,
  EventCallback? onClick,
  Map<String, String>? additionalAttributes,
}) : super(
        key: key,
        ref: ref,
        id: id,
        title: title,
        style: style,
        className: className,
        hidden: hidden,
        innerText: innerText,
        child: child,
        children: children,
        onClick: onClick,
        additionalAttributes: additionalAttributes,
      );