rows method

TextArea rows(
  1. int number, {
  2. bool? removeIf,
})

The number of visible text lines for the control. Read more...

Implementation

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