deeplink_x library

A cross-platform deeplink plugin that supports various apps and platforms.

This library provides a simple way to create and launch deeplinks with fallback support for web URLs when native apps are not available.

Example usage:

import 'package:deeplink_x/deeplink_x.dart';

// Create a DeeplinkX instance
final deeplinkX = const DeeplinkX();

// Open Instagram app
await deeplinkX.launchApp(Instagram.open());

// Open a specific profile
await deeplinkX.launchAction(Instagram.openProfile('username'));

Classes

AndroidIntentOption
Represents the options for an Android Intent.
App
Represents a generic application that can be launched.
AppAction
Represents an action that can be performed on an application.
AppLinkAppAction
Represents an app action that uses a standard app link.
CafeBazaarStore
Cafe Bazaar Store application for Android.
CafeBazaarStoreOpenAppPageAction
An action to open a specific app's page in the Cafe Bazaar store.
DeeplinkX
A class to handle deeplink actions across different platforms
DownloadableApp
Represents an app that can be downloaded from app stores.
Fallbackable
Represents an entity that provides a fallback URL.
HuaweiAppGalleryStore
Huawei AppGallery store application.
HuaweiAppGalleryStoreOpenAppPageAction
An action to open a specific app's page in the Huawei AppGallery store.
Instagram
Instagram application.
InstagramOpenProfileAction
An action to open a specific profile in the Instagram app.
IntentAppLinkAction
Represents an app action that uses Android Intent options.
IOSAppStore
Apple App Store for iOS devices.
IOSAppStoreOpenAppPageAction
An action to open a specific app's page in the iOS App Store.
IOSAppStoreRateAppAction
An action to rate a specific app in the iOS App Store.
LinkedIn
LinkedIn application.
LinkedInOpenCompanyAction
An action to open a specific company page in the LinkedIn app.
LinkedInOpenProfileAction
An action to open a specific profile in the LinkedIn app.
MacAppStore
Mac App Store application.
MacAppStoreOpenAppPageAction
An action to open a specific app's page in the Mac App Store.
MacAppStoreRateAppAction
An action to rate a specific app in the Mac App Store.
MicrosoftStore
Microsoft Store application for Windows.
MicrosoftStoreOpenAppPageAction
An action to open a specific app's page in the Microsoft Store.
MicrosoftStoreRateAppAction
An action to rate a specific app in the Microsoft Store.
MyketStore
Myket Store application for Android.
MyketStoreOpenAppPageAction
An action to open a specific app's page in the Myket store.
MyketStoreRateAppAction
An action to rate a specific app in the Myket store.
PlayStore
Google Play Store application for Android.
PlayStoreOpenAppPageAction
An action to open a specific app's page in the Google Play Store.
StoreApp
Represents an app store application.
StoreOpenAppPageAction
Represents an action to open an app's page in an app store.
Telegram
Telegram application.
TelegramOpenProfileAction
An action to open a specific profile in the Telegram app.
TelegramOpenProfileByPhoneNumberAction
An action to open a specific profile by phone number in the Telegram app.
TelegramSendMessageAction
An action to send a message to a specific user in the Telegram app.
TelegramSendMessageByPhoneNumberAction
An action to send a message to a specific user by phone number in the Telegram app.
UniversalLinkAppAction
Represents an app action that uses a universal link.
WhatsApp
WhatsApp application.
WhatsAppChatAction
An action to start a chat with a specific phone number in the WhatsApp app.
WhatsAppShareTextAction
An action to share text via the WhatsApp app.

Enums

PlatformType
Represents the different platforms supported by the DeeplinkX plugin.