form_forge 0.1.2
form_forge: ^0.1.2 copied to clipboard
Code-generation powered form engine for Flutter. Annotate your Dart class, run build_runner, and get production-ready forms with validation.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.2 - 2026-02-23 #
Fixed #
- Fixed double-"Form" naming bug in README examples (e.g.
LoginFormFormController→LoginFormController) - Updated install versions in README to
^0.1.1
0.1.0 - 2026-02-21 #
Added #
@FormForge()class annotation to mark form definitions- Built-in validators:
@IsRequired,@IsEmail,@MinLength,@MaxLength,@PatternValidator,@Min,@Max - Cross-field validation via
@MustMatch('otherField') - Async validation marker via
@AsyncValidate() - Custom widget override via
@FieldWidget(Type) FormForgeControllerbase class with ChangeNotifierForgeFieldState<T>for per-field state managementFormForgeValidatorinterface for custom validators- Default validation error messages