findParagraphStyle static method
Finds and returns the TextStyle that's applied to the top-level of the TextSpan
in the paragraph with the given nodeId
.
By default, this method expects a single SuperEditor in the widget tree and
finds it byType
. To specify one SuperEditor among many, pass a superEditorFinder
.
Implementation
static TextStyle? findParagraphStyle(String nodeId, [Finder? superEditorFinder]) {
return findRichTextInParagraph(nodeId, superEditorFinder).style;
}