form_forge 0.1.4 copy "form_forge: ^0.1.4" to clipboard
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.dart so generated .g.dart widget code compiles with a single import 'package:form_forge/form_forge.dart'
  • Updated all README examples to use late final fields to avoid uninitialized field errors

0.1.3 - 2026-02-24 #

Added #

  • Added example/example.dart for pub.dev Example tab (+10 pub points)

0.1.2 - 2026-02-23 #

Fixed #

  • Fixed double-"Form" naming bug in README examples (e.g. LoginFormFormControllerLoginFormController)
  • Updated install versions in README to ^0.1.1

0.1.1 - 2026-02-23 #

Changed #

  • Bumped version for compatibility with form_forge_generator 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)
  • FormForgeController base class with ChangeNotifier
  • ForgeFieldState<T> for per-field state management
  • FormForgeValidator interface for custom validators
  • Default validation error messages
2
likes
160
points
194
downloads

Publisher

unverified uploader

Weekly Downloads

Code-generation powered form engine for Flutter. Annotate your Dart class, run build_runner, and get production-ready forms with validation.

Repository (GitHub)
View/report issues
Contributing

Topics

#form #code-generation #validation #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on form_forge