Unofficial Flutter plugin for klaviyo ios
read more here https://github.com/klaviyo/klaviyo-swift-sdk
FlutterKlaviyo.setupWithPublicAPIKey(apiKey: 'YOUR_KLAVIYO_PUBLIC_API_KEY');
FlutterKlaviyo.setUpUserEmail(userEmail: "yes@example.com");
note: It only support name only event
Klaviyo.sharedInstance.trackEvent(eventName: "User login")
note: this is usually run after FlutterKlaviyo.setUpUserEmail(...
FlutterKlaviyo.setUpUserEmail(userEmail: "yes@example.com");
FlutterKlaviyo.initNotification();