ready_validation 2.5.0-dev-1 copy "ready_validation: ^2.5.0-dev-1" to clipboard
ready_validation: ^2.5.0-dev-1 copied to clipboard

Collection of extension methods to make validation simple , clean and fast

example/lib/main.dart

import 'package:ready_validation/ready_validation.dart';

void main() {
  var number = "7";

  var isValid = number
      .validateWith((v) => v.isNumber())
      .validateWith((v) => v.isBetween(5, 10))
      .isValid();

  /// or
  isValid = number.validateWith((v) => v.isNumber().isBetween(5, 10)).isValid();

  // ignore: avoid_print
  print(isValid);
}
14
likes
0
points
64
downloads

Publisher

verified publishernew-step-apps.com

Weekly Downloads

Collection of extension methods to make validation simple , clean and fast

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl, ready_extensions

More

Packages that depend on ready_validation