LaunchActionButton constructor

const LaunchActionButton({
  1. Key? key,
  2. required String label,
  3. required Uri uri,
  4. required LaunchType type,
  5. LaunchIcon? icon,
  6. LaunchStyle? style,
  7. VoidCallback? onTap,
  8. dynamic onResult(
    1. bool
    )?,
  9. List<String>? allowedSchemes,
  10. LaunchOptions? options,
  11. CalendarEvent? calendarEvent,
  12. String? value,
  13. Map<String, dynamic>? queryParameters,
})

Creates a LaunchActionButton.

Implementation

const LaunchActionButton({
  super.key,
  required this.label,
  required this.uri,
  required this.type,
  this.icon,
  this.style,
  this.onTap,
  this.onResult,
  this.allowedSchemes,
  this.options,
  this.calendarEvent,
  this.value,
  this.queryParameters, // Add this line
});