Skip to content

DATA VALIDATION FOR DART & FLUTTER

Good data.
From the start.

Describe the shape of your data. Validate it, transform it, and get clear errors when something doesn’t fit.

dart pub add acanthisOne package. Dart & Flutter.

Your first schemaDart
dart
import 'package:acanthis/acanthis.dart';

final account = object({
  'name': string().min(2),
  'email': string().email(),
});

final result = account.tryParse({
  'name': 'Ada',
  'email': 'ada@example.com',
});

print(result.success); // true
print(result.value['name']); // Ada
Define once. Reuse wherever data comes in.

THE DOCUMENTATION

A clear path from input to output.

Already using Acanthis?

Live validation →JSON Schema →Migrating to 2.0 →

Built by Avesbox · Made for Dart & Flutter