defaultLessonLinkOpener function
- Uri uri
Abre uri fora do app; recusa em silêncio o que não é https://.
Nada é buscado na rede sem toque (I05).
Implementation
Future<void> defaultLessonLinkOpener(Uri uri) async {
if (uri.scheme != 'https') return;
final ok = await DefaultLessonLinkLauncher.launch(uri);
if (!ok) {
// Sem navegador à mão (teste, Linux mínimo): silêncio, como pede o I05.
debugPrint('lição: não deu para abrir $uri');
}
}