emailRegex property

RegExp emailRegex
getter/setter pair

Email validation

Implementation

static RegExp emailRegex =
    RegExp(r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$');