plainTextFile constant
SimpleFileFormat
const plainTextFile
Used when dropping a plain text file. Client is responsible for dealing with file encoding.
Implementation
static const plainTextFile = SimpleFileFormat(
uniformTypeIdentifiers: ['public.utf8-plain-text', 'public.plain-text'],
mimeTypes: ['text/plain'],
);