regexed_validator 1.0.0 copy "regexed_validator: ^1.0.0" to clipboard
regexed_validator: ^1.0.0 copied to clipboard

outdated

A library for Dart/Flutter developers for validating - phone - name - postalCode - email - url - currency - ip - date - time - htmlTags - password - creditCard

A library for Dart/Flutter developers. Regexed Validator at pub.dartlang.org For validating:

  • phone
  • name
  • postalCode
  • email
  • url
  • currency
  • ip
  • date
  • time
  • htmlTags
  • password
  • creditCard

Usage #

Usage is pretty simple just pass a phone, date, email... to its validation method, see the example below

import 'package:regexed_validator/regexed_validator.dart';

main() {
  validator.email('example@example.co.uk');
  validator.htmlTags('<strong>Bold</strong>\n'
      '<em>Emphazied</em>\n'
      '<b>Bold</b>\n'
      '<i>Italics</i>\n'
      '<span id="foo" class="bar">Some text</span>\n'
      '<hr />');
}
51
likes
0
pub points
93%
popularity

Publisher

unverified uploader

A library for Dart/Flutter developers for validating - phone - name - postalCode - email - url - currency - ip - date - time - htmlTags - password - creditCard

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on regexed_validator