canCopy property
bool
get
canCopy
Whether there is a selection available to copy.
Implementation
bool get canCopy {
final selection = _editorWidgetState?.selection;
return selection != null && !selection.isCollapsed;
}