- chore: update dependencies
- Remove direct MailClient usage from MimeMessageDownloader
- Update dependencies
- Switch to inapp_webview 6 (beta)
- Feat: support to specify own fetching method, Setting your own fetching method can be useful for downloading the message contents e.g. from disk.
- Feat: MimeMessageDownloader also support setting download timeouts now.
- New
preferPlainTextoption to display the mime message's plain text part when available. - New
enableDarkModeoption to use dark mode rendering. - New
urlLauncherDelegateoption to control opening of links. - Ensure compatibility with Flutter 3.0.
- Register a
builderfunction to overtake building for specific messages.
- Updated dependencies, improved documentation
- Adapt to API changes of dependent libraries and Flutter
- Restructure package
- Ensure compatibility with WebKit / iOS
- To improve download speed, you can limit the included media types when downloading the message contents with the
MessageDownloader.includedInlineTypesparameter, e.g.return MessageDownloader(includedInlineTypes: [MediaToptype.image]);. - Use the
fetchIdto retrieve inline message parts in links starting withfetch:// - Do not scale plain text messages
enough_mail_flutteris now null safe #7- support dark theme
- allow to specify
onWebViewCreatedandonZoomedcallbacks - fix handling of embdedded images linked via content-IDs #8
- Use
InAppWebviewin hybrid mode on Android so that long messages are not a problem anymore - Zoom out of wide messages automatically
- Update dependencies for null-safety preparation
- Generate HTML asynchronously.
- Catch any problems during downloading and signal them to the widget owner with the
onDownloadErrorhandler. - Use
enough_mediapackage to render media. - Fix problem when
setState()was called after the widget was not mounted anymore.
- Download messages only once.
- Show an image message directly and not in HTML browser.
- Adapt to
enough_mailAPI changes.
- Added
MimeMessageDownloaderwidget. - Improve documentation.
- Initial release with the
MimeMessageViewerwidget.