files property
Share multiple files, can be used in combination with text
Android supports all natively available MIME types (wildcards like image/* are also supported) and it's considered best practice to avoid mixing unrelated file types (eg. image/jpg & application/pdf). If MIME types are mixed the plugin attempts to find the lowest common denominator. Even if MIME types are supplied the receiving app decides if those are used or handled.
On iOS image/jpg, image/jpeg and image/png are handled as images, while every other MIME type is considered a normal file.
- Supported platforms: Android, iOS, Web, recent macOS and Windows versions Throws an UnimplementedError on other platforms.
Implementation
final List<XFile>? files;