browserLauncher property

Future<void> Function(Uri url)? browserLauncher
final

Optional launcher for the system browser. Injected so widget tests can drive signIn() without opening a real browser. Real apps wire this to url_launcher.launchUrl(mode: LaunchMode.externalApplication).

Implementation

final Future<void> Function(Uri url)? browserLauncher;