inputMode method
The inputmode global attribute that hints at the type of data that might be entered by the user while editing the element or its contents. Read more...
Implementation
WidgetElement inputMode(String mode, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('inputmode', mode);
node.attrs!.add(attr);
}
return this;
}