preventBlocking property

bool preventBlocking
final

Whether to use an isolate for parsing to avoid blocking of the UI.

When CustomSpanBuilder is used with CustomText, it is recommended that this flag is omitted or set to false. Setting it otherwise adds an overhead to the parsing that occurs in the builder before another parsing occurs in CustomText.

Implementation

final bool preventBlocking;