cols method
The visible width of the text control, in average character widths. Read more...
Implementation
TextArea cols(int number, {bool? removeIf}) {
if (removeIf != true && node.attrs != null) {
VirtualAttr attr = VirtualAttr('cols', number.toString());
node.attrs!.add(attr);
}
return this;
}