validated 2.0.0 copy "validated: ^2.0.0" to clipboard
validated: ^2.0.0 copied to clipboard

The ultimate string validator for dart and flutter with over 40+ validators

example/example.dart

import 'package:validated/validated.dart' as validate;

void main() {
  print(validate.isBoolean('a'));
  print(validate.isEmail("adib@gmail.com"));
  print(validate.isAscii("ABCDEF"));
  print(validate.isSameType('String', false));
  print(validate.isUpperCase("ADIB"));
  print(validate.isCapitalized("Adib"));
  print(validate.contains("Dart is nice", "nice"));
  print(validate.isCurrency("\$"));
  print(validate.isURL('https://www.google.com'));
  print(validate.isEmoji("😀"));
}
22
likes
140
pub points
89%
popularity

Publisher

unverified uploader

The ultimate string validator for dart and flutter with over 40+ validators

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

More

Packages that depend on validated