β–²

Flutter Gems is a curated list of 7100+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter Autoformat, Masking and Validation packages

Last updated: April 1, 2026

Autoformat feature when added to a text field or a form field, allows automatic formatting of the text entered by a user. This is useful for fields that require a specific format, such as phone numbers, national identification numbers, etc. It can also be used to mask sensitive fields and combined with form field validation to validate user input such as email address.

In Flutter, you can add text field autoformatting, masking and validation functionality via the below mentioned packages.


auto_size_text
πŸ‘ 5.09K   β¬‡οΈ 966.4K
Dart 3 compatible
Maintenance Status: Poor

Flutter widget that automatically resizes text to fit perfectly within its bounds.

mask_text_input_formatter
πŸ‘ 1.31K   β¬‡οΈ 409.9K
Dart 3 compatible
Maintenance Status: Poor

The package provides TextInputFormatter for TextField and TextFormField which format the input by a given mask.

email_validator
πŸ‘ 1.21K   β¬‡οΈ 402.7K
Dart 3 compatible
Maintenance Status: Average

A simple (but correct) dart class for validating email addresses

intl_phone_number_input Card Image
intl_phone_number_input
πŸ‘ 919   β¬‡οΈ 86.7K
Dart 3 compatible
Maintenance Status: Good

A simple and customizable flutter package for inputting phone number in intl / international format uses Google's libphonenumber.

flutter_multi_formatter Card Image
flutter_multi_formatter
πŸ‘ 610   β¬‡οΈ 121.8K
Dart 3 compatible
Maintenance Status: Good

A package of formatters for international phone numbers, credit / debit cards and a masked formatter

brasil_fields Card Image
brasil_fields
πŸ‘ 576   β¬‡οΈ 21.2K
Dart 3 compatible
Maintenance Status: Good

O jeito mais fΓ‘cil de utilizar padrΓ΅es e formatos brasileiros em seu projeto Dart.

auto_size_text_field Card Image
auto_size_text_field
πŸ‘ 300   β¬‡οΈ 209.2K
Dart 3 compatible
Maintenance Status: Average

Flutter TextField widget that automatically resizes text field to fit perfectly within its bounds.

form_builder_validators
πŸ‘ 373   β¬‡οΈ 120.4K
Dart 3 compatible
Maintenance Status: Good

Form Builder Validators set of validators for FlutterFormBuilder. Provides common validators and a way to make your own.

currency_text_input_formatter
πŸ‘ 288   β¬‡οΈ 102K
Dart 3 compatible
Maintenance Status: Good

Currency Text Input Formatter for Flutter. Use it easy and simple for your flutter app.

validators
πŸ‘ 243   β¬‡οΈ 118.1K
Dart 3 compatible
Maintenance Status: Poor

String validation and sanitization for Dart.

pattern_formatter Card Image
pattern_formatter
πŸ‘ 307   β¬‡οΈ 16.1K
Dart 3 compatible
Maintenance Status: Good

A Flutter package provides some implementations of TextInputFormatter that format input with pre-defined patterns

flutter_libphonenumber Card Image
flutter_libphonenumber
πŸ‘ 190   β¬‡οΈ 87.3K
Dart 3 compatible
Maintenance Status: Good

Leverages libphonenumber to allow for asynchronous and synchronous formatting of phone numbers in Flutter apps.

phone_form_field
πŸ‘ 220   β¬‡οΈ 29K
Dart 3 compatible
Maintenance Status: Good

Flutter phone input integrated with flutter internationalization

easy_mask
πŸ‘ 159   β¬‡οΈ 18.9K
Dart 3 compatible
Maintenance Status: Poor

Easy and Powerful Mask for TextField, TextFormField and Strings. Has multi mask support, reverse mask for currency and placeholder. It controls user's cursor.

validatorless
πŸ‘ 171   β¬‡οΈ 4.2K
Dart 3 compatible
Maintenance Status: Good

This package provides a means to validate text inputs on the flutter and was inspired by Yup

fzregex
πŸ‘ 171   β¬‡οΈ 1.6K
Dart 3 compatible
Maintenance Status: Good

A utility package for validating: Phone, Name, PostalCode, Email, URL, Currency, IP Address, Date, Time, HTMLTags, Password (Strong/Medium), and Credit Card. Designed for Dart/Flutter Developers.

extended_masked_text
πŸ‘ 147   β¬‡οΈ 14K
Dart 3 compatible
Maintenance Status: Average

A small set of custom TextEditingControllers that allows masked text inputs for flutter apps

regexpattern
πŸ‘ 130   β¬‡οΈ 1.2K
Dart 3 compatible
Maintenance Status: Poor

Flutter list of regex pattern with purpose for string validation

flutter_masked_text2
πŸ‘ 97   β¬‡οΈ 23.3K
Dart 3 compatible
Maintenance Status: Poor

Masked text input for flutter.

cpf_cnpj_validator
πŸ‘ 81   β¬‡οΈ 34.1K
Dart 3 compatible
Maintenance Status: Poor

A lib to validate, format, strip and generate CPF and CNPJ numbers from Brazil.

rules
πŸ‘ 108   β¬‡οΈ 134
Dart 3 compatible
Maintenance Status: Good

Rules is a simple yet powerful and feature-rich validation library for both dart and flutter.

all_validations_br
πŸ‘ 97   β¬‡οΈ 938
Dart 3 compatible
Maintenance Status: Average

A powerful library Dart library for advanced validations: CPF, CNPJ, URLs, passwords, string checks, and character removal. Simplify your Dart and Flutter projects.

money_formatter
πŸ‘ 87   β¬‡οΈ 3.5K
Dart 3 compatible
Maintenance Status: Good

MoneyFormatter is a Flutter extension to formatting various types of currencies according to the characteristics you like, without having to be tied to any localization.

auto_direction
πŸ‘ 88   β¬‡οΈ 178
Dart 3 compatible
Maintenance Status: Poor

This package changes the direction of a widget from ltr direction into rtl direction and vice versa based on the language of the text provided.

queen_validators
πŸ‘ 80   β¬‡οΈ 779
Dart 3 compatible
Maintenance Status: Poor

collection of validation methods and rules for flutter form with ZERO extra widgets

passwordfield
πŸ‘ 61   β¬‡οΈ 349
Dart 3 compatible
Maintenance Status: Poor

A simple and easy to use Passwordfield Widget to add a password Textfield to your Flutter project hassle free.

libphonenumber
πŸ‘ 59   β¬‡οΈ 1.8K
Dart 3 compatible
Maintenance Status: Poor

This is a Flutter implementation of libphonenumber. It includes only a few features at the moment, and are added when more functionality is desired.

auto_validate
πŸ‘ 60   β¬‡οΈ 382
Dart 3 compatible
Maintenance Status: Good

The Auto Validate package streamlines input validation by leveraging customizable regular expressions, allowing for efficient verification of various data formats.

currency_textfield Card Image
currency_textfield
πŸ‘ 53   β¬‡οΈ 6.1K
Dart 3 compatible
Maintenance Status: Good

A flutter package that implements a Controller for currency text input.

iban
πŸ‘ 31   β¬‡οΈ 27.8K
Dart 3 compatible
Maintenance Status: Average

A validation library for IBANs included in the official registry. Also supports some unofficial ones.

regexed_validator
πŸ‘ 56   β¬‡οΈ 23
Dart 3 compatible
Maintenance Status: Poor

Validating: phone, name, postalCode, email, url, currency, ip, date, time, htmlTags, password (strong), medium-password, creditCard. for A Dart/Flutter developers

ack
πŸ‘ 55   β¬‡οΈ 803
Dart 3 compatible
Maintenance Status: Average

A simple validation library for Dart

verify
πŸ‘ 55   β¬‡οΈ 92
Dart 3 compatible
Maintenance Status: Poor

Validations made simple. An extension based state validation DSL.

acanthis
πŸ‘ 48   β¬‡οΈ 2.4K
Dart 3 compatible
Maintenance Status: Good

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

phone_input
πŸ‘ 45   β¬‡οΈ 4K
Dart 3 compatible
Maintenance Status: Poor

This package is designed to simplify the process of capturing phone numbers from users.

ez_validator Card Image
ez_validator
πŸ‘ 44   β¬‡οΈ 802
Dart 3 compatible
Maintenance Status: Good

Dead simple field/object schema validation for flutter,EzValidator api is inspired by Yup/Zod

validation_textformfield
πŸ‘ 37   β¬‡οΈ 59
Dart 3 compatible
Maintenance Status: Poor

flutter textfield validation lets you validate different textform fields in your Flutter app.

extended_phone_number_input
πŸ‘ 36   β¬‡οΈ 57
Dart 3 compatible
Maintenance Status: Poor

Phone input Flutter widget that supports country code, validation and contact picker

mask
πŸ‘ 35   β¬‡οΈ 201
Dart 3 compatible
Maintenance Status: Poor

This project is for you to be able to make validations and formatting in a simple and easy way in your projects

number_text_input_formatter
πŸ‘ 32   β¬‡οΈ 31
Dart 3 compatible
Maintenance Status: Poor

Number Text Input Formatter for Flutter

boleto_utils
πŸ‘ 28   β¬‡οΈ 2.5K
Dart 3 compatible
Maintenance Status: Good

Package com mΓ©todos para a validaΓ§Γ£o de todos os tipos de boleto do Brasil definidos pela FEBRABAN

mask_input_formatter
πŸ‘ 29   β¬‡οΈ 621
Dart 3 compatible
Maintenance Status: Poor

TextInputFormatter for TextField and TextFormField which format the input by a given mask.

masked_text_field
πŸ‘ 29   β¬‡οΈ 373
Dart 3 compatible
Maintenance Status: Poor

A package for masked text field for format your text, so if you want a mask for phone number, or IP address or any kind of formate. Use this package.

formdator
πŸ‘ 28   β¬‡οΈ 182
Dart 3 compatible
Maintenance Status: Average

A collection of form field validators that can be selected and grouped into various combinations through composition β€” Decorator Pattern.

validadores
πŸ‘ 27   β¬‡οΈ 460
Dart 3 compatible
Maintenance Status: Poor

Validadores para formulΓ‘rios PT-BR, validaΓ§Γ΅es como CPF,CNPJ,OBRIGATORIO,EMAIL,IGUAL,Valor MΓ­nimo,Valor MΓ‘ximo,Tamanho MΓ­nimo,Tamanho MΓ‘ximo.

masked_text
πŸ‘ 26   β¬‡οΈ 393
Dart 3 compatible
Maintenance Status: Poor

A simple and basic masked text package.

is_valid
πŸ‘ 25   β¬‡οΈ 648
Dart 3 compatible
Maintenance Status: Poor

An all-in-one validator 50+ functions cover common cases, from emails and phone numbers to URLs and passwords.

the_validator
πŸ‘ 25   β¬‡οΈ 95
Dart 3 compatible
Maintenance Status: Poor

A simple & easy validation package for flutter that can be used to validate form fields and strings & values

validated
πŸ‘ 23   β¬‡οΈ 2.2K
Dart 3 compatible
Maintenance Status: Poor

The ultimate string validator for dart and flutter with over 40+ validators

phone_text_field
πŸ‘ 22   β¬‡οΈ 2.9K
Dart 3 compatible
Maintenance Status: Good

A comprehensive Flutter plugin for international phone number input, validation, formatting, and country selection with localization support.

flutter_laravel_form_validation
πŸ‘ 24   β¬‡οΈ 191
Dart 3 compatible
Maintenance Status: Poor

A simplified dart extension based flutter form validation . Inspired by Laravel Validation.

phonenumbers
πŸ‘ 24   β¬‡οΈ 123
Dart 3 compatible
Maintenance Status: Poor

Phone number validation and input widget written in pure dart without any native dependency

well_formed Card Image
well_formed
πŸ‘ 24   β¬‡οΈ 100
Dart 3 compatible
Maintenance Status: Average

A form fields package designed to relieve developers of much of the burden of form-related coding. It provides field masking, validation, smart trimming, and more.

fluent_validation
πŸ‘ 23   β¬‡οΈ 133
Dart 3 compatible
Maintenance Status: Poor

A dart based port of fluent validation for C#. FluentValidation allows easy validation of objects without crazy amounts of boilerplate.

meta_validator
πŸ‘ 23   β¬‡οΈ 17
Dart 3 compatible
Maintenance Status: Poor

A tidy utility to handle validation of strings like a pro. It provides support for both iOS, Android, Web, Linux platforms (offcourse).

flux_validator_dart
πŸ‘ 22   β¬‡οΈ 199
Dart 3 compatible
Maintenance Status: Poor

A package to validate strings and input data for dart with a variety of validators such as cpf, cnpj, car plate, email, phone number and others.

localregex
πŸ‘ 22   β¬‡οΈ 106
Dart 3 compatible
Maintenance Status: Average

Collection of regex patterns commonly used in Zimbabwe. Regex patterns include mobile numbers, passports, vehicle license plates, driver's license, email addresses and passwords

inspection
πŸ‘ 21   β¬‡οΈ 178
Dart 3 compatible
Maintenance Status: Poor

validation form inputs and data in Dart & Flutter like Laravel framework

flutter_bidi_text Card Image
flutter_bidi_text
πŸ‘ 14   β¬‡οΈ 480
Dart 3 compatible
Maintenance Status: Good

A Flutter package that provides text widgets with automatic bidirectional text direction detection for multilingual applications.

multi_masked_formatter
πŸ‘ 13   β¬‡οΈ 739
Dart 3 compatible
Maintenance Status: Poor

Multple Masked TextInputFormatter Flutter plugin. It is useful for entering phone numbers, date of birth.

string_validator_plus
πŸ‘ 13   β¬‡οΈ 57
Dart 3 compatible
Maintenance Status: Poor

Simplify data validation in Flutter apps! Validate emails, passwords, and more. Intuitive interface, accurate validation. Download now!

form_model Card Image
form_model
πŸ‘ 8   β¬‡οΈ 10
Dart 3 compatible
Maintenance Status: Average

A powerful and flexible form validation package for Flutter applications.

cellphone_validator
πŸ‘ 6   β¬‡οΈ 86
Dart 3 compatible
Maintenance Status: Good

A widget and helper for validation internation phone numbers

currency_widget
πŸ‘ 6   β¬‡οΈ 61
Dart 3 compatible
Maintenance Status: Good

A currency list of widgets which you can choose or get information about the currency

simple_form_validations
πŸ‘ 5   β¬‡οΈ 10
Dart 3 compatible
Maintenance Status: Poor

Simple Form Validations is a Dart package that provides a collection of validators for common data validation scenarios.

helium_validator
πŸ‘ 3   β¬‡οΈ 24
Dart 3 compatible
Maintenance Status: Good

A lightweight, powerful, and extensible validation library for Flutter.

flutter_indian_utils
πŸ‘ 1   β¬‡οΈ 32
Dart 3 compatible
Maintenance Status: Good

A comprehensive utility package for Indian developers. Includes validators, formatters, and converters for PAN, Aadhaar, GSTIN, mobile numbers, currency, and more.

url_textformfield
πŸ‘ 1   β¬‡οΈ 15
Dart 3 compatible
Maintenance Status: Poor

Textformfield designed for inputing urls, with options to add leading and trailing text, appended at begining and end of input

flutter_masked_text
πŸ‘ 240   β¬‡οΈ 341

Maintenance Status: Poor

Masked text input for flutter.

cpfcnpj
πŸ‘ 51   β¬‡οΈ 79

Maintenance Status: Poor

An easy-to-use utility for CPF/CNPJ validation and formatting.

international_phone_input
πŸ‘ 43   β¬‡οΈ 50

Maintenance Status: Poor

International Phone Number Input For Flutter. This packages validates phone number input value using the libphonenumber package.

fitted_text_field_container
πŸ‘ 27   β¬‡οΈ 75

Maintenance Status: Poor

A Container that automatically resizes to fit a the text value of a Material TextField.

dart_rut_validator
πŸ‘ 21   β¬‡οΈ 35

Maintenance Status: Poor

A small dart library to easily format, manipulate and validate chilean RUT.

cnpj_cpf_formatter
πŸ‘ 4   β¬‡οΈ 32

Maintenance Status: Poor

This library gives you a formatter to CNPJ or CPF documents. Enjoy it!