JayTWWM / Share-Files-And-Screenshot-Widgets-Flutter

This pub lets you share any kind of files (csv, mp4, png etc), take screenshot of the widgets you want and return as Image and share them directly as well in the form of an image.
Other
24 stars 14 forks source link

email subject #21

Open evanholt1 opened 2 years ago

evanholt1 commented 2 years ago

When sharing through email services (gmail/outlook),

the email's subject is always empty regardless of what i pass to .shareFile() . the body of the email is filled successfully by the title in .shareFile() though.

how can i fill the email's Subject from .shareFile() ?

example:

ShareFilesAndScreenshotWidgets().shareFile(
        'title',  -> not used in email services
        'image.jpg',
        imageData,
        'image/jpg',
        text: "text", -> filled in email body
      );

edit: after further testing, sometimes in IOS devices the text parameter is the email subject AND email body. even more weird.