Share Sheet Adapter
Component Detail
Infrastructure
low complexity
Shared Component
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Thin wrapper around the share_plus Flutter package that triggers the native OS share sheet. Abstracts platform-specific share APIs so the Referral Screen and other features that share content can invoke sharing without depending on share_plus directly.
share-sheet-adapter
Responsibilities
- Trigger the native share sheet with a text URL payload
- Support sharing an image (QR code export) as a file
- Provide a unified interface independent of the underlying share_plus version
- Handle platform differences between iOS and Android share dialogs
Interfaces
shareText(String text, {String? subject}) -> void
shareFile(String filePath, {String? mimeType}) -> void
shareTextAndFile(String text, String filePath) -> void
isShareAvailable() -> bool