dash_validator 1.0.1 dash_validator: ^1.0.1 copied to clipboard
A Dart validation library to simplify the use of validation, and used to validate fields and other things
example/dash_validator_example.dart
import 'package:dash_validator/dash_validator.dart';
void main() {
final emailToValidate = 'test@email.com';
final errorMessage =
DashValidator().required().email().validate(emailToValidate);
print(errorMessage);
}