name method
The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form. Read more...
Implementation
Button name(String name, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('name', name);
node.attrs!.add(attr);
}
return this;
}