placeholder method
Text that appears in the form control when it has no value set. Read more...
Implementation
Input placeholder(String text, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('placeholder', text);
node.attrs!.add(attr);
}
return this;
}