endLine method
void
endLine()
Implementation
void endLine() {
final sb = StringBuffer();
_writeSpace(sb, 2*nIndent);
for(var i = 0; i < cols.length; i++) {
final col = cols[i];
var req = col.width - col.length;
if(i == 0) {
req -= (2*nIndent);
}
if(col.alignment == AFOutputAlignment.alignRight) {
_writeSpace(sb, req, fill: col.fill);
}
final out = _colorize(col.content.toString(), col.color);
sb.write(out);
if(col.alignment == AFOutputAlignment.alignLeft) {
_writeSpace(sb, req, fill: col.fill);
}
}
print(sb.toString());
cols.clear();
}