render method
Renders the component as a styled string.
Subclasses implement this to produce their ANSI-styled output.
Implementation
@override
String render() {
final buffer = StringBuffer();
for (final child in children) {
buffer.write(child.render());
}
return buffer.toString();
}