utils/src/share_util library

Extensions

StringPathExtension on String

Properties

shareAppStoreDownloadURL String
getter/setter pair
shareDirectoryName String
getter/setter pair

Functions

clearShareDirectory() Future<void>
downloadFile({required String url, String? savePath, bool loading = true}) Future<String?>
getShareDirectory() Future<Directory>
getShareDirectoryPath() Future<String>
shareApp() Future<ShareResult>
shareFile({required String url, String? savePath}) Future<void>
shareText(String text, {String? subject}) Future<ShareResult>
shareURL(String url) Future<ShareResult>