urlPattern top-level constant

String const urlPattern

URL Regex - A predefined type for handling URL matching

Implementation

const urlPattern =
    r"[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:._\+-~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:_\+.~#?&\/\/=]*)";