validate_kit 1.0.1
validate_kit: ^1.0.1 copied to clipboard
A zero-dependency, fluent form validation toolkit for Dart and Flutter. Chain rules for email, password, length, range, and custom logic.
import 'package:flutter/material.dart';
import 'screens/form_demo_screen.dart';
/// Entry point for the validate_kit example application.
void main() {
runApp(const ValidateKitExampleApp());
}
/// Root widget of the example application.
class ValidateKitExampleApp extends StatelessWidget {
/// Creates the example application.
const ValidateKitExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'validate_kit',
debugShowCheckedModeBanner: false,
theme: ThemeData(
useMaterial3: true,
colorSchemeSeed: const Color(0xFF4F46E5),
),
home: const FormDemoScreen(),
);
}
}