Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class UrlLauncherAndroid extends UrlLauncherPlatform {
case PreferredLaunchMode.platformDefault:
// Intentionally treat any new values as platformDefault; see comment in
// supportsMode.
// ignore: no_default_cases
// ignore: no_default_cases, unreachable_switch_default
default:
// By default, open web URLs in the application.
inApp = url.startsWith('http:') || url.startsWith('https:');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class UrlLauncherIOS extends UrlLauncherPlatform {
// Intentionally treat any new values as platformDefault; support for any
// new mode requires intentional opt-in, otherwise falling back is the
// documented behavior.
// ignore: no_default_cases
// ignore: no_default_cases, unreachable_switch_default
default:
// By default, open web URLs in the application.
inApp = url.startsWith('http:') || url.startsWith('https:');
Expand Down Expand Up @@ -110,7 +110,7 @@ class UrlLauncherIOS extends UrlLauncherPlatform {
// Default is a desired behavior here since support for new modes is
// always opt-in, and the enum lives in a different package, so silently
// adding "false" for new values is the correct behavior.
// ignore: no_default_cases
// ignore: no_default_cases, unreachable_switch_default
default:
return false;
}
Expand Down