selectable property
Whether the rendered text content is selectable.
When true, wraps the output in a SmoothSelectionRegion (a thin
SelectableRegion adapter that additionally exposes programmatic
selection control) 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;