emailTextField static method

String? emailTextField(
  1. String? input
)

Implementation of StringValidator.isValidEmail for email validation

Implementation

static String? emailTextField(String? input) =>
    input.isValidEmail() ? null : 'Invalid Email Address';