render method

  1. @override
String render()
override

Renders the component as a styled string.

Subclasses implement this to produce their ANSI-styled output.

Implementation

@override
String render() {
  final style = renderConfig.configureStyle(Style().foreground(Colors.info));
  return '${style.render(frame)} $message';
}