wrap method

TextArea wrap(
  1. String value, {
  2. bool? removeIf,
})

Indicates how the control should wrap the value for form submission. Read more...

Implementation

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