minLength method

TextArea minLength(
  1. num number, {
  2. bool? removeIf,
})

The minimum number of characters (UTF-16 code units) required that the user should enter. Read more...

Implementation

TextArea minLength(num number, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('minlength', number.toString());
    node.attrs!.add(attr);
  }
  return this;
}