helpers/src/ny_url library

Enums

UrlLaunchModeType
Launch mode for opening URLs.

Functions

canOpenUrl(String url) Future<bool>
Check if a URL can be opened.
openUrl(String url, {UrlLaunchModeType mode = UrlLaunchModeType.externalApplication, bool webOnly = false, Map<String, String>? headers}) Future<bool>
Opens a URL in the browser.