LaunchLink constructor
const
LaunchLink({
- Key? key,
- LaunchDisplayMode mode = LaunchDisplayMode.actionButton,
- required LaunchType type,
- String? label,
- String? visibleText,
- String? value,
- IconData? icon,
- LaunchIcon? customIcon,
- bool showIcon = true,
- LaunchStyle? style,
- Map<
String, dynamic> ? queryParameters, - VoidCallback? onTap,
- dynamic onResult()?,
- List<
String> ? allowedSchemes, - LaunchOptions? options,
- MainAxisAlignment? alignment,
- bool? showUnderline,
- CalendarEvent? calendarEvent,
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.queryParameters,
this.shareText,
this.shareSubject,
this.onTap,
this.onResult,
this.allowedSchemes,
this.options,
this.alignment,
this.showUnderline,
this.calendarEvent,
});