TextClipboardPolicy enum

How a TextInput or TextArea treats copy, cut, and the kill ring.

Keyboard shortcuts and the semantic copy action follow the same policy.

Inheritance
Available extensions

Values

allowed → const TextClipboardPolicy

Copy and cut write the selected text unchanged, and kills (such as Ctrl+K in the emacs keymaps) store it in the kill ring that all fields share.

disabled → const TextClipboardPolicy

Copy and cut do nothing, and kills don't store text in the kill ring.

redacted → const TextClipboardPolicy

Copy and cut write a masked copy of the selection (one masking character per character, keeping line breaks) instead of the raw text, and kills don't store text in the kill ring.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<TextClipboardPolicy>
A constant List of the values in this enum, in order of their declaration.