Introduction
Acanthis is a Validation library for Dart & Flutter heavily inspired by Zod. It is designed to be a simple, and easy to use validation library.
Features
- Immutable and chainable API: Every method returns a new instance of the schema ensuring immutability.
- Concise and readable
- Built-in JSON schema generation
- Support for async validation
- Extensive type support
Requirements
- Dart SDK 3.6.0 or higher
Installation
To install Acanthis execute the following command:
bash
dart pub add acanthis
Or add it to your pubspec.yaml
file:
yaml
dependencies:
acanthis: ^1.2.0