formAction method

Button formAction(
  1. String url, {
  2. bool? removeIf,
})

The URL that processes the information submitted by the button. Read more...

Implementation

Button formAction(String url, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('formaction', url);
    node.attrs!.add(attr);
  }
  return this;
}