static bool isExternal(String uri) { try { final scheme = _schema(uri); return scheme.isNotEmpty && scheme != 'data'; } catch (e) { return false; } }