pattern property

String? pattern
finalinherited

Valid for text, search, url, tel, email, and password, the pattern attribute defines a regular expression that the input's value must match in order for the value to pass constraint validation.

Implementation

final String? pattern;