LaunchOptions constructor

const LaunchOptions({
  1. bool useMultiChoiceDialog = false,
  2. String? dialogTitle,
  3. String? dialogMessage,
  4. String? androidPreferredAppPackageName,
  5. List<String>? iOSAppSchemes,
  6. void onLaunchAttempt(
    1. LaunchType type,
    2. Uri uri
    )?,
  7. void onLaunchResult(
    1. LaunchType type,
    2. Uri uri,
    3. bool success
    )?,
  8. String? appNotInstalledDialogTitle,
  9. String? appNotInstalledDialogMessage,
  10. String? confirmationDialogTitle,
  11. String? confirmationDialogMessage,
  12. LaunchFallbackMode fallbackMode = LaunchFallbackMode.prompt,
  13. bool requireConfirmation = false,
  14. bool checkAppInstallation = false,
  15. bool bypassAppDetectionAndFallback = false,
  16. String? appStoreLink,
  17. void onTrackLaunch(
    1. LaunchType type,
    2. Uri uri
    )?,
})

Creates a LaunchOptions instance.

Implementation

const LaunchOptions({
  this.useMultiChoiceDialog = false,
  this.dialogTitle,
  this.dialogMessage,
  this.androidPreferredAppPackageName,
  this.iOSAppSchemes,
  this.onLaunchAttempt,
  this.onLaunchResult,
  this.appNotInstalledDialogTitle,
  this.appNotInstalledDialogMessage,
  this.confirmationDialogTitle,
  this.confirmationDialogMessage,
  this.fallbackMode = LaunchFallbackMode.prompt,
  this.requireConfirmation = false,
  this.checkAppInstallation = false,
  this.bypassAppDetectionAndFallback = false,
  this.appStoreLink,
  this.onTrackLaunch,
});