@override bool validate(value, data) { try { Uri? uri = Uri.tryParse(value); return uri != null && uri.hasScheme && uri.hasAuthority; } catch (e) { return false; } }