enableTextSelection property
Whether the user can select text in the document (long-press / drag).
Defaults to false: pdfrx's selection painting crashes with
Bad state: No element on pages whose text layer has no fragments
(PdfPageText.getFragmentIndexForTextIndex). Only enable it for
documents you know carry a proper text layer.
Implementation
final bool enableTextSelection;