ClipboardItem class

Represents a clipboard item.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

ClipboardItem.new(dynamic items)
Creates a new instance of the ClipboardItem class.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
types Iterable<String>

Available on ClipboardItem, provided by the ClipboardItemExtension extension

Gets the types of the clipboard item.
no setter

Methods

getType(String type) Future<Blob?>

Available on ClipboardItem, provided by the ClipboardItemExtension extension

Gets the clipboard item of the specified type.
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