This package provides easy form validation for common fields in Flutter applications, such as email and phone numbers. It allows users to customize validation rules and error messages, and supports multiple locales for error messages.


  • Easy form validation for common fields (email, phone, etc.).
  • Customizable validation rules and error messages.
  • Support for multiple locales for error messages.

Getting started

In the dependencies: section of your pubspec.yaml, add the following line:

  form_easy_validator: ^


import 'package:flutter/material.dart';
import 'package:form_easy_validator/form_easy_validator.dart';

void main() {

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: FormEasyValidator(
          padding: EdgeInsets.all(16),
          text: 'Email', // Add the text for the label
          validator: (value) => FormEasyValidator().validateEmail(value),
          appLocale: Locale('en', 'US'),
          textCapitalization: TextCapitalization.none,

Additional information

For more information about this package and how to use it, you can refer to the documentation.


We welcome contributions to this package! If you find any issues or have suggestions for improvements, please feel free to file an issue or submit a pull request on


This project is licensed under the MIT License - see the LICENSE file for details.