Last updated:
0 purchases
extenx
Extenx is a lightweight Dart package that provides a simple extension method to validate email addresses. Whether you're building a form, authentication flow, or any feature that requires email validation, Extenx ensures that the provided email string is in a valid format.
Features #
Extension to check whether the provided email is vaild or not
Getting started #
Installation #
Add the package to your pubspec.yaml file:
dependencies:
extenx: ^0.0.3
copied to clipboard
Then run flutter pub get in your terminal.
Import the package #
Import the package in dart code.
import 'package:extenx/extenx.dart';
copied to clipboard
Basic Usage #
Here is the simple example to get you stared:
import 'package:extenx/extenx.dart';
void main() {
String email = '[email protected]';
bool isValid = email.isValidEmail;
print('Is the email valid? $isValid'); // Is the email valid? true
}
copied to clipboard
Contributing #
Contributions are welcome! If you find a bug or have a feature request, please open an issue. If you'd like to contribute code, please fork the repository and submit a pull request.
License #
This project is licensed under the MIT License - see the LICENSE file for details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.