autoCapitalize method

WidgetElement autoCapitalize(
  1. String value, {
  2. bool? removeIf,
})
inherited

The autocapitalize global attribute that controls whether and how text input is automatically capitalized as it is entered/edited by the user. Read more...

Implementation

WidgetElement autoCapitalize(String value, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('autocapitalize', value);
    node.attrs!.add(attr);
  }
  return this;
}