LaunchifyLauncher class

Core class for launching URLs with url_launcher integration.

This class provides a centralized way to handle URL launching with built-in logging, validation, and safety checks, including app availability and fallback mechanisms.

Constructors

LaunchifyLauncher()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

canLaunch({required LaunchType type, String? value, Map<String, dynamic>? queryParameters}) Future<bool>
Determines if a given LaunchType can be handled by the device.
launch(BuildContext context, Uri uri, {List<String>? allowedSchemes, LaunchMode mode = LaunchMode.platformDefault, LaunchOptions? options}) Future<bool>
Launches the given uri using the system's preferred method.
launchAction(BuildContext context, {required LaunchType type, String? value, Map<String, dynamic>? queryParameters, List<String>? allowedSchemes, LaunchMode mode = LaunchMode.platformDefault, LaunchOptions? options, CalendarEvent? calendarEvent}) Future<bool>
Launches an action based on the specified LaunchType and parameters.