Validator/url_validate library
Functions
-
isValidUrlAsync<
T> (String url, {bool allowRelative = false, List< String> ? allowedSchemes, List<String> ? allowedDomains, bool normalize = true, bool checkDomainExists = false}) → Future<T> - Validates URLs with format checking and domain restrictions. Returns String/bool/UrlValidationResult based on generic type T.