formMethod method
This attribute specifies the HTTP method used to submit the form. Read more...
Implementation
Button formMethod(String method, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('formmethod', method);
node.attrs!.add(attr);
}
return this;
}