ClipboardStatus enum Null safety

An enumeration of the status of the content on the user's clipboard.

Inheritance

Constructors

ClipboardStatus()
const

Values

pasteable → const ClipboardStatus

The clipboard content can be pasted, such as a String of nonzero length.

ClipboardStatus()
unknown → const ClipboardStatus

The status of the clipboard is unknown. Since getting clipboard data is asynchronous (see Clipboard.getData), this status often exists while waiting to receive the clipboard contents for the first time.

ClipboardStatus()
notPasteable → const ClipboardStatus

The content on the clipboard is not pasteable, such as when it is empty.

ClipboardStatus()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<ClipboardStatus>
A constant List of the values in this enum, in order of their declaration.
[pasteable, unknown, notPasteable]