value method
Defines the value associated with the button's name when it's submitted with the form data. Read more...
Implementation
Button value(dynamic value, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('value', value.toString());
node.attrs!.add(attr);
}
return this;
}