Share Export Service
Component Detail
Service Layer
medium complexity
mobile
1
Dependencies
1
Dependents
2
Entities
0
Integrations
Description
Mobile service that renders the annual summary into a shareable static image or constructs a deep link for distribution. Uses Flutter's RepaintBoundary to capture the summary card as a PNG. Strips all contact-identifiable data before generating shareable content.
share-export-service
Responsibilities
- Capture summary card widget as PNG using RepaintBoundary
- Construct deep link pointing to Meander's public summary page
- Sanitize content to remove contact-identifiable data
- Provide both image and link share payloads to the share sheet
Interfaces
exportAsImage(GlobalKey widgetKey)
buildShareLink(String userId, int year)
sanitizeSummaryForSharing(AnnualSummaryData data)
getSharePayload(ShareFormat format)
Relationships
Related Data Entities (2)
Data entities managed by this component