Formats class

Properties

hashCode int
The hash code for this object.
no setterinherited
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

aac → const SimpleFileFormat
apk → const SimpleFileFormat
avi → const SimpleFileFormat
bmp → const SimpleFileFormat
bzip2 → const SimpleFileFormat
csv → const SimpleFileFormat
deb → const SimpleFileFormat
dll → const SimpleFileFormat
dmg → const SimpleFileFormat
doc → const SimpleFileFormat
docx → const SimpleFileFormat
epub → const SimpleFileFormat
exe → const SimpleFileFormat
fileUri → const SimpleValueFormat<Uri>
flac → const SimpleFileFormat
flv → const SimpleFileFormat
gif → const SimpleFileFormat
gzip → const SimpleFileFormat
heic → const SimpleFileFormat
heif → const SimpleFileFormat
htmlFile → const SimpleFileFormat
Used when dropping a HTML file (not a HTML snippet). Client is responsible for dealing with file encoding.
htmlText → const SimpleValueFormat<String>
Key for rich text in form of html snippet. Make sure to include plainText version in clipboard as well, otherwise setting the content may fail on some platforms (i.e. Android). Note that if you wish to receive dropped HTML files use htmlFile format instead. htmlText is mostly meant for copying and pasting HTML snippets (which on some platforms require additional conversion).
ico → const SimpleFileFormat
iso → const SimpleFileFormat
jar → const SimpleFileFormat
jpeg → const SimpleFileFormat
json → const SimpleFileFormat
m4a → const SimpleFileFormat
m4v → const SimpleFileFormat
md → const SimpleFileFormat
mkv → const SimpleFileFormat
mov → const SimpleFileFormat
mp3 → const SimpleFileFormat
mp4 → const SimpleFileFormat
mpeg → const SimpleFileFormat
msi → const SimpleFileFormat
oga → const SimpleFileFormat
ogg → const SimpleFileFormat
opus → const SimpleFileFormat
pdf → const SimpleFileFormat
plainText → const SimpleValueFormat<String>
Value format for plain text. This is used for copying and pasting text as well as dragging and dropping plain text snippets. This format takes care of conversion from/to platform specific encoding.
plainTextFile → const SimpleFileFormat
Used when dropping a plain text file. Client is responsible for dealing with file encoding.
png → const SimpleFileFormat
PNG Image format
ppt → const SimpleFileFormat
pptx → const SimpleFileFormat
rar → const SimpleFileFormat
rpm → const SimpleFileFormat
rtf → const SimpleFileFormat
sevenZip → const SimpleFileFormat
standardFormats → const List<DataFormat<Object>>
svg → const SimpleFileFormat
tar → const SimpleFileFormat
tiff → const SimpleFileFormat
ts → const SimpleFileFormat
uri → const SimpleValueFormat<NamedUri>
utf8Text → const SimpleFileFormat
Deprecated. Original name was misleading because the UTF8 encoding is not enforced.
wav → const SimpleFileFormat
webm → const SimpleFileFormat
webp → const SimpleFileFormat
webUnknown → const SimpleFileFormat
Some browsers (Safari, of course, who else), do not report mime types of files during dragging, only when dropped. In which case there will be one item present during the drop over event of type webUnknown.
wmv → const SimpleFileFormat
xls → const SimpleFileFormat
xlsx → const SimpleFileFormat
xz → const SimpleFileFormat
zip → const SimpleFileFormat