Skip to content
pubscout

queen_validators

1.0.1, released 4 years ago by maxzod.com

A collection of validation methods and rules for Flutter forms with zero extra widgets.

WASM-readyRepository archived
$ flutter pub add queen_validators
Source repository

What it does

Provides ready-to-use validation rules and functions like IsRequired, IsEmail, and MinLength for Flutter form fields. It works directly with standard form widgets via a qValidator function without introducing extra UI components.

AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need standard text field validations like email, min length, and required fields in a Flutter form.
  • You want validation logic separated from UI widgets with zero extra widget overhead.

Skip it when

  • You require a heavy form builder library with automatic state management and complex multi-step forms.

Strengths

  • Zero extra widgets, keeping your widget tree clean.
  • Out-of-the-box localization support through custom rules or global configuration.
  • Comes with a variety of built-in validation rules.

Weaknesses

  • Limited documentation outside of basic examples and GitHub repo.
  • Some rules have gone through breaking changes or been removed in past beta versions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
TextFormField(
  validator: qValidator([
    IsRequired(),
    IsEmail(),
    MinLength(8),
  ]),
)

Alternatives

Packages that do the same job and could replace queen_validators.

Works with

Packages commonly used together with queen_validators: ones it builds on, ones built on it, and its own family.