acanthis 1.0.2 copy "acanthis: ^1.0.2" to clipboard
acanthis: ^1.0.2 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');
  }
}
copied to clipboard
24
likes
160
points
589
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

2024.09.16 - 2025.03.31

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

Homepage
Repository (GitHub)

Topics

#validation #dart #validation-form #validators #zod

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

crypto, email_validator

More

Packages that depend on acanthis