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
150
pub points
61%
popularity

Publisher

verified publishernew-step-apps.com

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