canCopyText abstract method
Returns whether the user is allowed to copy the given text to the pasteboard.
This is more specific than the canCopy
property, and can return false if the given text
exceeds the allowed amount of characters to copy.
To be used before presenting, for example, a pop-up to share a selected portion of content.
Implementation
bool canCopyText(String text);