Validator/url_validate library

Constants

kIsWeb → const bool
Pure Dart way to detect web platform

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.