form_forge 0.1.4
form_forge: ^0.1.4 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.4 - 2026-02-24 #
Fixed #
- Re-export
package:flutter/material.dartso generated.g.dartwidget code compiles with a singleimport 'package:form_forge/form_forge.dart' - Updated all README examples to use
late finalfields to avoid uninitialized field errors
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