ready_validation 2.5.2 copy "ready_validation: ^2.5.2" to clipboard
ready_validation: ^2.5.2 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
130
points
69
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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_localizations, intl, ready_extensions

More

Packages that depend on ready_validation