Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemask_text_input_formatter

TextInputFormatter for TextField and TextFormField to format input using a given mask.

pub.devRemove
pattern_formatter

Provides implementations of TextInputFormatter to format input with pre-defined patterns.

pub.devRemove
ScoresHealth5082 (best)
Maintenance181 (best)
Quality100 (best)93
Popularity98 (best)83
Community2352 (best)
Compatibility100100
UsageDownloads (30 days)610k (best)35k
Likes1.3k (best)310
Pub points160 / 160 (best)150 / 160
GitHub stars257 (best)210
MaintenanceLatest release2.9.0, 3 years ago5.0.0, 5 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors4 (best)3
PublisherUnverifiedhunghd.dev
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies0 (best)1
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Easy integration with standard Flutter TextField and TextFormField widgets.
  • Supports dynamic mask updates and lazy/eager autocompletion types.
  • Provides methods to retrieve both masked and unmasked text values easily.
  • Simple to use directly inside standard TextField inputFormatters.
  • Supports thousands grouping, decimal fractions, credit cards, and dates out of the box.
Weaknesses
  • Limited to text formatting via string masks and filters.
  • No built-in comprehensive collection of predefined regional masks (like international phone formats) out of the box.
  • Limited to the pre-defined patterns provided by the package.
WarningsNoneNone
mask_text_input_formatter vs pattern_formatter: which Flutter package should you use? | pubscout