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() => style != null ? style!(text) : text;