Flutter Plugin for sharing contents to social media.You can use it share to Mail, WhatsApp And System Share UI
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.
First, add open_share_pro
as a dependency in your pubspec.yaml file.
In your flutter project add the dependency:
dependencies:
...
open_share_pro:
For help getting started with Flutter, view the online documentation.
- Please check if use open localFile open_filex.
- Please check if use open browser, phone, mail and whatsapp url_launcher.
Please follow this example here.
Open.browser(url: "https://techdirr.com")
Open.phone(phoneNumber: "+919879626497")
Open.mail(toAddress: "dev@techdirr.com", subject: "techdirr", body: "techdirr dev")
Open.whatsApp(whatsAppNumber: "919879626497", text: "techdirr")
Open.localFile(filePath: localFilePath)