Search packages, repositories and app categories

Package detailsv0.0.2

meta_validator

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
10
Likes
23
Pub points
120

Install package

flutter pub add meta_validator

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Meta Validator is a cross-platform Flutter package designed to simplify string validation across Android, iOS, Web, macOS, Windows, and Linux. It offers a clean, intuitive API for validating inputs such as emails, passwords, phone numbers, and custom patterns. Built with developer experience in mind, it supports real-time feedback and integrates seamlessly into forms. The package is lightweight, well-documented, and ideal for apps requiring robust input validation without boilerplate code.

Use cases

  • Form validation in mobile and web apps
  • Real-time input validation
  • Email and phone number verification
  • Custom pattern matching
  • Secure password strength checks

Key features

  • Cross-platform support
  • Easy-to-use validation rules
  • Real-time validation feedback
  • Supports custom regex patterns
  • Lightweight and performant

Suitable for

  • Developers building multi-platform Flutter apps
  • Apps requiring strict input validation
  • Form-heavy applications
  • Teams prioritizing clean, maintainable code

Considerations

  • Requires manual setup for complex validation logic
  • Limited built-in validators beyond common patterns
  • No built-in internationalization support for error messages

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

⚡Meta validator

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

🎖Installing

dependencies:
  meta_validator: ^<latest_version>

⚽Awesome Features

🔥StrengthChecker.getPasswordStrength("some password")

  • Check the strength of your password ranging between 0.0 to 1.0

🔥StrengthChecker.getPasswordValidations( password: "aaa", defaultTitle: "DEFAULT", mediumTitle: "MEDIUM", strongTitle: "STRONG", weakTitle: "WEAK");

  • Get a customized string for password strength. Add you custom messages for each password validation with a default statement.

🔥StringValidator.validateEmail("fake email")

  • Check if your email address is valid or not.

🔥StringValidator.validatePostalCode("fake postal code")

  • Check if your postal code is valid or not.

🔥StringValidator.validateBlacklisted(["apple", "ball"], "ball")

  • Check if the inserted word is blacklisted or not.

😎 + 10 more string validators!


❤Loved the utility? Donate here.
🚀Want to learn more about Flutter? Checkout this out!
💥DM me on Instagram for doubts Follow here

🐛 Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

Categories

Dependencies

Dependency list 1 items

  • update^0.3.1

Source repository

Projects using this package

No data available yet.