type method

Input type(
  1. String inputTypes, {
  2. bool? removeIf,
})

Type of form control. Read more...

Implementation

Input type(String inputTypes, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('type', inputTypes);
    node.attrs!.add(attr);
  }
  return this;
}