isComposingText property

bool isComposingText
@visibleForTesting

Whether text is composed.

Text is composed when user selects it for editing. The TextSpan will have children with composing effect and leave text property to be null.

Implementation

@visibleForTesting
bool get isComposingText => text.text == null;