focusedLine property

LineState? focusedLine

Get the currently focused line. If there is no focused paragraph or the focusedParagraph is not a LineState this returns null.

Implementation

LineState? get focusedLine =>
    focusedParagraph is LineState ? focusedParagraph as LineState? : null;