Referral Link Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Widget that generates, displays, and shares a personalized referral link tied to the user's profile and local association. Uses Flutter's Share plugin to surface the native share sheet on both iOS and Android for frictionless distribution across any channel.
referral-link-widget
Responsibilities
- Generate and display the user's unique referral short URL
- Trigger native share sheet via Flutter Share plugin
- Copy referral link to clipboard
- Show share confirmation feedback to the user
Interfaces
generateReferralLink()
openShareSheet(link)
copyToClipboard(link)
displayLinkPreview()
refreshLink()