axiy 0.1.0 copy "axiy: ^0.1.0" to clipboard
axiy: ^0.1.0 copied to clipboard

Small, dependency-free utilities from the Axiy team. Starts with an email address validator that explains why an address was rejected.

example/main.dart

import 'package:axiy/axiy.dart';

void main() {
  for (final email in ['ali@axiy.uz', 'ali@axiy', 'ali..vali@axiy.uz', '']) {
    final error = validateEmail(email);
    print(error == null ? '$email: ok' : '"$email": ${error.name}');
  }

  print('ali@axiy.uz'.isValidEmail); // true
}
1
likes
160
points
51
downloads

Documentation

API reference

Publisher

verified publisheraxiy.uz

Weekly Downloads

Small, dependency-free utilities from the Axiy team. Starts with an email address validator that explains why an address was rejected.

Homepage

Topics

#email #validation #validator #form #axiy

License

MIT (license)

More

Packages that depend on axiy