Flutter Gems is a curated list of 7000+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter Autoformat, Masking and Validation packages
Last updated: October 19, 2025
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.01K β¬οΈ 1.2M
Dart 3 compatibleMaintenance Status: Poor
Flutter widget that automatically resizes text to fit perfectly within its bounds.
mask_text_input_formatter
π 1.29K β¬οΈ 543.3K
Dart 3 compatibleMaintenance Status: Average
The package provides TextInputFormatter for TextField and TextFormField which format the input by a given mask.
email_validator
π 1.19K β¬οΈ 359.7K
Dart 3 compatibleMaintenance Status: Average
A simple (but correct) dart class for validating email addresses
intl_phone_number_input
π 903 β¬οΈ 73.7K
Dart 3 compatibleMaintenance Status: Good
A simple and customizable flutter package for inputting phone number in intl / international format uses Google's libphonenumber.
flutter_multi_formatter
π 602 β¬οΈ 157.5K
Dart 3 compatibleMaintenance Status: Good
A package of formatters for international phone numbers, credit / debit cards and a masked formatter
brasil_fields
π 573 β¬οΈ 27.7K
Dart 3 compatibleMaintenance Status: Good
The easiest way to use Brazilian standards and formats in your Dart project.
form_builder_validators
π 355 β¬οΈ 206.1K
Dart 3 compatibleMaintenance Status: Good
Form Builder Validators set of validators for FlutterFormBuilder. Provides common validators and a way to make your own.
auto_size_text_field
π 297 β¬οΈ 227.6K
Dart 3 compatibleMaintenance Status: Average
Flutter TextField widget that automatically resizes text field to fit perfectly within its bounds.
currency_text_input_formatter
π 283 β¬οΈ 168.9K
Dart 3 compatibleMaintenance Status: Good
Currency Text Input Formatter for Flutter. Use it easy and simple for your flutter app.
validators
π 241 β¬οΈ 115.4K
Dart 3 compatibleMaintenance Status: Poor
String validation and sanitization for Dart.
pattern_formatter
π 302 β¬οΈ 19.2K
Dart 3 compatibleMaintenance Status: Good
A Flutter package provides some implementations of TextInputFormatter that format input with pre-defined patterns
flutter_libphonenumber
π 182 β¬οΈ 130.2K
Dart 3 compatibleMaintenance Status: Good
Leverages libphonenumber to allow for asynchronous and synchronous formatting of phone numbers in Flutter apps.
phone_form_field
π 208 β¬οΈ 24.3K
Dart 3 compatibleMaintenance Status: Good
Flutter phone input integrated with flutter internationalization
extended_masked_text
π 146 β¬οΈ 69.1K
Dart 3 compatibleMaintenance Status: Average
A small set of custom TextEditingControllers that allows masked text inputs for flutter apps
validatorless
π 170 β¬οΈ 7.1K
Dart 3 compatibleMaintenance Status: Good
This package provides a means to validate text inputs on the flutter and was inspired by Yup
easy_mask
π 158 β¬οΈ 19.5K
Dart 3 compatibleMaintenance 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.
fzregex
π 171 β¬οΈ 2K
Dart 3 compatibleMaintenance Status: Good
Validating: Phone, Name, PostalCode, Email, URL, Currency, IP Address, Date, Time, HTMLTags, Password (Strong), Password (Medium), Credit Card.
regexpattern
π 130 β¬οΈ 1.6K
Dart 3 compatibleMaintenance Status: Average
Flutter list of regex pattern with purpose for string validation
flutter_masked_text2
π 97 β¬οΈ 23.9K
Dart 3 compatibleMaintenance Status: Poor
Masked text input for flutter.
cpf_cnpj_validator
π 81 β¬οΈ 44.2K
Dart 3 compatibleMaintenance Status: Poor
A lib to validate, format, strip and generate CPF and CNPJ numbers from Brazil.
rules
π 108 β¬οΈ 359
Dart 3 compatibleMaintenance Status: Poor
Rules is a simple yet powerful and feature-rich validation library for both dart and flutter.
all_validations_br
π 97 β¬οΈ 277
Dart 3 compatibleMaintenance Status: Good
String validations and remover char ex ('/', '-', '.'), more than a validation for your best projects.
auto_direction
π 89 β¬οΈ 325
Dart 3 compatibleMaintenance Status: Average
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.
money_formatter
π 84 β¬οΈ 6.5K
Dart 3 compatibleMaintenance Status: Average
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.
queen_validators
π 80 β¬οΈ 706
Dart 3 compatibleMaintenance Status: Poor
collection of validation methods and rules for flutter form with ZERO extra widgets
currency_textfield
π 52 β¬οΈ 14.1K
Dart 3 compatibleMaintenance Status: Good
A flutter package that implements a Controller for currency text input.
passwordfield
π 61 β¬οΈ 838
Dart 3 compatibleMaintenance Status: Poor
A simple and easy to use Passwordfield Widget to add a password Textfield to your Flutter project hassle free.
auto_validate
π 60 β¬οΈ 125
Dart 3 compatibleMaintenance Status: Good
The Auto Validate package streamlines input validation by leveraging customizable regular expressions, allowing for efficient verification of various data formats.
libphonenumber
π 58 β¬οΈ 2.6K
Dart 3 compatibleMaintenance 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.
regexed_validator
π 56 β¬οΈ 19
Dart 3 compatibleMaintenance Status: Poor
Validating: phone, name, postalCode, email, url, currency, ip, date, time, htmlTags, password (strong), medium-password, creditCard.
ack
π 54 β¬οΈ 311
Dart 3 compatibleMaintenance Status: Good
A simple validation library for Dart
verify
π 54 β¬οΈ 123
Dart 3 compatibleMaintenance Status: Poor
Validations made simple. An extension based state validation DSL.
iban
π 30 β¬οΈ 25.5K
Dart 3 compatibleMaintenance Status: Good
A validation library for IBANs included in the official registry. Also supports some unofficial ones.
phone_input
π 45 β¬οΈ 3.9K
Dart 3 compatibleMaintenance Status: Poor
This package is designed to simplify the process of capturing phone numbers from users.
ez_validator
π 44 β¬οΈ 604
Dart 3 compatibleMaintenance Status: Average
Dead simple field/object schema validation for flutter,EzValidator api is inspired by Yup
acanthis
π 39 β¬οΈ 1.2K
Dart 3 compatibleMaintenance Status: Good
Acanthis is an easy-to-use validation library for Dart and Flutter.
validation_textformfield
π 37 β¬οΈ 69
Dart 3 compatibleMaintenance Status: Poor
flutter textfield validation lets you validate different textform fields in your Flutter app.
extended_phone_number_input
π 36 β¬οΈ 105
Dart 3 compatibleMaintenance Status: Poor
Phone input Flutter widget that supports country code, validation and contact picker
mask
π 35 β¬οΈ 405
Dart 3 compatibleMaintenance Status: Poor
This project is for you to be able to make validations and formatting in a simple and easy way in your projects
boleto_utils
π 28 β¬οΈ 5.8K
Dart 3 compatibleMaintenance Status: Good
Package com mΓ©todos para a validaΓ§Γ£o de todos os tipos de boleto do Brasil definidos pela FEBRABAN
number_text_input_formatter
π 32 β¬οΈ 3
Dart 3 compatibleMaintenance Status: Average
Number Text Input Formatter for Flutter
mask_input_formatter
π 29 β¬οΈ 678
Dart 3 compatibleMaintenance Status: Poor
TextInputFormatter for TextField and TextFormField which format the input by a given mask.
masked_text_field
π 29 β¬οΈ 368
Dart 3 compatibleMaintenance 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 β¬οΈ 104
Dart 3 compatibleMaintenance Status: Average
A collection of form field validators that can be selected and grouped into various combinations through composition β Decorator Pattern.
validadores
π 27 β¬οΈ 394
Dart 3 compatibleMaintenance Status: Poor
Validators for PT-BR forms, validations such as CPF, CNPJ, REQUIRED, EMAIL, EQUAL, Minimum Value, Maximum Value, Minimum Size, Maximum Size.
masked_text
π 26 β¬οΈ 842
Dart 3 compatibleMaintenance Status: Poor
A simple and basic masked text package.
is_valid
π 25 β¬οΈ 874
Dart 3 compatibleMaintenance Status: Average
An all-in-one validator 50+ functions cover common cases, from emails and phone numbers to URLs and passwords.
the_validator
π 25 β¬οΈ 397
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Poor
The ultimate string validator for dart and flutter with over 40+ validators
phonenumbers
π 24 β¬οΈ 438
Dart 3 compatibleMaintenance Status: Poor
Phone number validation and input widget written in pure dart without any native dependency
flutter_laravel_form_validation
π 24 β¬οΈ 338
Dart 3 compatibleMaintenance Status: Poor
A simplified dart extension based flutter form validation . Inspired by Laravel Validation.
well_formed
π 24 β¬οΈ 66
Dart 3 compatibleMaintenance 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 β¬οΈ 270
Dart 3 compatibleMaintenance 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 β¬οΈ 64
Dart 3 compatibleMaintenance Status: Poor
A tidy utility to handle validation of strings like a pro. It provides support for both iOS, Android, Web, Linux platforms (offcourse).
phone_text_field
π 21 β¬οΈ 1.9K
Dart 3 compatibleMaintenance Status: Good
A comprehensive Flutter plugin for international phone number input, validation, formatting, and country selection with localization support.
flux_validator_dart
π 22 β¬οΈ 245
Dart 3 compatibleMaintenance 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 β¬οΈ 193
Dart 3 compatibleMaintenance 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 β¬οΈ 259
Dart 3 compatibleMaintenance Status: Poor
validation form inputs and data in Dart & Flutter like Laravel framework
multi_masked_formatter
π 12 β¬οΈ 1.4K
Dart 3 compatibleMaintenance Status: Poor
Multple Masked TextInputFormatter Flutter plugin. It is useful for entering phone numbers, date of birth.
string_validator_plus
π 13 β¬οΈ 44
Dart 3 compatibleMaintenance Status: Poor
Simplify data validation in Flutter apps! Validate emails, passwords, and more. Intuitive interface, accurate validation. Download now!
flutter_bidi_text
π 10 β¬οΈ 1.1K
Dart 3 compatibleMaintenance Status: Good
A Flutter package that provides text widgets with automatic bidirectional text direction detection for multilingual applications.
cellphone_validator
π 6 β¬οΈ 70
Dart 3 compatibleMaintenance Status: Good
A widget and helper for validation internation phone numbers
form_model
π 6 β¬οΈ 3
Dart 3 compatibleMaintenance Status: Average
A powerful and flexible form validation package for Flutter applications.
simple_form_validations
π 5 β¬οΈ 30
Dart 3 compatibleMaintenance Status: Average
Simple Form Validations is a Dart package that provides a collection of validators for common data validation scenarios.
helium_validator
π 2 β¬οΈ 27
Dart 3 compatibleMaintenance Status: Good
A lightweight, powerful, and extensible validation library for Flutter.
url_textformfield
π 1 β¬οΈ 31
Dart 3 compatibleMaintenance 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 β¬οΈ 740
Maintenance Status: Poor
Masked text input for flutter.
cpfcnpj
π 51 β¬οΈ 91
Maintenance Status: Poor
An easy-to-use utility for CPF/CNPJ validation and formatting.
international_phone_input
π 43 β¬οΈ 60
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 β¬οΈ 124
Maintenance Status: Poor
A Container that automatically resizes to fit a the text value of a Material TextField.
dart_rut_validator
π 21 β¬οΈ 27
Maintenance Status: Poor
A small dart library to easily format, manipulate and validate chilean RUT.
cnpj_cpf_formatter
π 4 β¬οΈ 27
Maintenance Status: Poor
This library gives you a formatter to CNPJ or CPF documents.
