shareLoyaltyInvitationPdf static method
Implementation
static shareLoyaltyInvitationPdf({
required BuildContext context,
}) {
final authController = Get.find<AuthenticationController>();
generatePdf(
context: context,
widget: InvitationCard(parentContext: context, isGenerating: true,),
url: authController.referralUrl,
refCode: authController.referralCode ?? '',
customSize: const Size(495, 620),
);
}