writeSelectableLine method
void
writeSelectableLine(
- RenderOutput out,
- String content, {
- required bool focused,
- bool highlighted = false,
Writes a selectable item line with full formatting.
Convenience method that combines selectableLine with writeLine.
Implementation
void writeSelectableLine(
RenderOutput out,
String content, {
required bool focused,
bool highlighted = false,
}) {
final line = selectableLine(content, focused: focused);
writeLine(out, line, highlighted: highlighted && focused);
}