Patterns class

Constructors

Patterns()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

alphanumericWord → const String
r'^[a-zA-Z0-9]+$'
alphaSentence → const String
r'''^[\s]*[A-Za-z,;'"\s.?!]+$'''
alphaWord → const String
r'^[a-zA-Z]+$'
email → const String
r'^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$'
float → const String
r'^(?:-?(?:[0-9]+))?(?:\.[0-9]*)?(?:[eE][\+\-]?(?:[0-9]+))?$'
hexadecimal → const String
r'^[0-9a-fA-F]+$'
hexcolor → const String
r'^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$'
integer → const String
r'^(?:-?(?:0|[1-9][0-9]*))$'
numeric → const String
r'^-?[0-9]+$'
phone10digit → const String
r'^[0-9]{10}$'