LaunchLink constructor

const LaunchLink({
  1. Key? key,
  2. LaunchDisplayMode mode = LaunchDisplayMode.actionButton,
  3. required LaunchType type,
  4. String? label,
  5. String? visibleText,
  6. String? value,
  7. IconData? icon,
  8. LaunchIcon? customIcon,
  9. bool showIcon = true,
  10. LaunchStyle? style,
  11. String? emailSubject,
  12. String? emailBody,
  13. String? smsBody,
  14. VoidCallback? onTap,
  15. dynamic onResult(
    1. bool
    )?,
  16. List<String>? allowedSchemes,
  17. MainAxisAlignment? alignment,
})

Creates a unified LaunchLink widget.

Implementation

const LaunchLink({
  super.key,
  this.mode = LaunchDisplayMode.actionButton,
  required this.type,
  this.label,
  this.visibleText,
  this.value,
  this.icon,
  this.customIcon,
  this.showIcon = true,
  this.style,
  this.emailSubject,
  this.emailBody,
  this.smsBody,
  this.onTap,
  this.onResult,
  this.allowedSchemes,
  this.alignment,
});