focusedParagraphIndex property
int?
focusedParagraphIndex
Get the index of the focused paragraph or null if no paragraph has focus.
Implementation
int? get focusedParagraphIndex {
final p = _focusedParagraph;
return p == null ? null : paragraphs.indexOf(p);
}