Clipboard class Null safety
Utility methods for interacting with the system's clipboard.
Properties
- hashCode → int
- 
  The hash code for this object.
  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
Static Methods
- 
  getData(String format) → Future< ClipboardData?> 
- Retrieves data from the clipboard that matches the given format.
- 
  hasStrings() → Future< bool> 
- Returns a future that resolves to true iff the clipboard contains string data.
- 
  setData(ClipboardData data) → Future< void> 
- Stores the given clipboard data on the clipboard.
Constants
- kTextPlain → const String
- 
  Plain text data format string.
  
  'text/plain'