Search packages, repositories and app categories

Package detailsv2.0.0

acanthis

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

AndroidiOSmacOSWindowsLinux
30-day downloads
5.1K
Likes
50
Pub points
160

Install package

flutter pub add acanthis

Package Overview

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

Acanthis is a lightweight, easy-to-use validation library for Dart and Flutter applications. It provides a simple and intuitive API to validate user input across various data types, including text, numbers, and email addresses. With built-in validators and support for custom rules, Acanthis streamlines form validation in both mobile and desktop apps. Designed for developers seeking fast integration without boilerplate code, it enhances input reliability and user experience. The library is compatible with Android, iOS, macOS, Windows, and Linux platforms.

Use cases

  • Form validation in Flutter apps
  • Input field sanitization
  • Real-time user feedback
  • Custom validation rules
  • Cross-platform data validation

Key features

  • Simple API
  • Built-in validators
  • Custom rule support
  • Cross-platform compatibility
  • Minimal boilerplate

Suitable for

  • Flutter beginners
  • Form-heavy applications
  • Mobile and desktop apps
  • Developers wanting quick validation
  • Projects requiring consistent input checks

Considerations

  • Limited to basic validation needs
  • No built-in internationalization
  • Requires manual error message handling
  • Not suitable for complex business logic
  • Depends on external dependency management

Original README

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

Acanthis Banner

Acanthis

Acanthis is a simple and easy to use validation library for Dart. It is inspired by Zod although it is not a port of it. Acanthis is tailored to the Dart language and its features and is type-safe and composable.

Get Started | Pub.dev

Why Acanthis?

Acanthis provides validation for most of the Dart built-in types and allows you to create custom validators.

But that's not all! Acanthis is designed to be composable, so you can create complex validators by combining simpler ones.

Contributions

Contributions are welcome! If you want to contribute to Acanthis, you can open a pull request on the GitHub repository

License

Acanthis is licensed under the MIT License. You can read the MIT license

Credits

Acanthis is developed and maintained by Avesbox

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.