urlPattern top-level property

RegExp urlPattern
final

Implementation

final urlPattern = RegExp(
  r'\b((https?:\/\/[^\s]+)|(www\.[^\s]+)|([^\s]+\.[^\s]+))\b',
);