selectable property

bool selectable
final

Whether the rendered text content is selectable.

When true, wraps the output in a SelectionArea and renders text using Text.rich() instead of RichText, enabling cross-block text selection and copy across paragraphs, headers, code blocks, etc.

SmoothMarkdown(
  data: markdownText,
  selectable: true,
)

Defaults to false.

Implementation

final bool selectable;