dash_validator 1.0.1 copy "dash_validator: ^1.0.1" to clipboard
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);
}
5
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A Dart validation library to simplify the use of validation, and used to validate fields and other things

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on dash_validator