acanthis 0.1.1 copy "acanthis: ^0.1.1" to clipboard
acanthis: ^0.1.1 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');
  }
}
6
likes
0
pub points
25%
popularity

Publisher

verified publisherserinus.app

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

License

unknown (license)

Dependencies

email_validator

More

Packages that depend on acanthis