requiredTextField static method
Implementation of StringValidator.isNotNullOrEmpty for required text field
Implementation
static String? requiredTextField(String? input) =>
input.isNotNullOrEmpty() ? null : 'This field cannot be empty';
Implementation of StringValidator.isNotNullOrEmpty for required text field
static String? requiredTextField(String? input) =>
input.isNotNullOrEmpty() ? null : 'This field cannot be empty';