latitude static method
FormFieldValidator that requires the field's value to be a valid latitude.
Parameters:
errorTextThe error message when the latitude is invalid.checkNullOrEmptyWhether to check for null or empty values.
Implementation
static FormFieldValidator<String> latitude({
String? errorText,
bool checkNullOrEmpty = true,
}) => LatitudeValidator(
errorText: errorText,
checkNullOrEmpty: checkNullOrEmpty,
).validate;