flutter check is valid url code example Example: dart regex for url bool _validURL = Uri.parse(URL).isAbsolute;