setLineStyle method
Apply a text attribute to the currently focused line, if there is one.
Implementation
void setLineStyle(TextAttribute attribute) {
final line = focusedLine;
if (line != null) {
setLineStyleOf(line, attribute);
}
}
Apply a text attribute to the currently focused line, if there is one.
void setLineStyle(TextAttribute attribute) {
final line = focusedLine;
if (line != null) {
setLineStyleOf(line, attribute);
}
}