acanthis 0.1.3 copy "acanthis: ^0.1.3" to clipboard
acanthis: ^0.1.3 copied to clipboard

Acanthis is an easy-to-use validation library for Dart and Flutter.

example/lib/example.dart

import 'package:acanthis/acanthis.dart' as acanthis;

void main() {
  final email = acanthis.string().email().min(5).max(20);
  final result = email.tryParse('test@test.com');

  if (result.success) {
    print('Email is valid');
  } else {
    print('Email is invalid');
  }
}
7
likes
150
points
421
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

Acanthis is an easy-to-use validation library for Dart and Flutter.

Homepage
Repository (GitHub)
View/report issues

Topics

#validation #dart #validation-form #validators

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

email_validator

More

Packages that depend on acanthis