softlink_flutter library
SoftLink Flutter SDK for deep linking and install attribution.
Initialize with SoftLink.init at app startup:
SoftLink.init(
baseUrl: 'https://your-backend.com',
apiKey: 'sl_your_key',
onDeepLink: (deepLink) {
if (deepLink == null) return;
navigateTo(deepLink.screen, deepLink.params);
},
);
Classes
- SoftLink
- Main entry point for the SoftLink Flutter SDK.
- SoftLinkDeepLink
- Represents a resolved deep link from SoftLink.
Typedefs
- OnSoftLinkDeepLink = void Function(SoftLinkDeepLink? deepLink)
- Callback type for handling resolved deep links.