json_form_builder library

A highly advanced, reusable, JSON-driven form builder for Flutter.

Build dynamic, beautiful, and responsive forms from JSON with support for all major field types, custom theming, validation (sync/async), conditional logic, and user-defined custom fields.

Exports:

Classes

FieldConfig
Model representing the configuration for a single form field.
FormConfig
Model representing the configuration for a form.
FormTheme
JsonFormBuilder
A widget that builds a dynamic form from a JSON configuration.
SectionConfig
Model representing a section in the form.

Typedefs

FieldWidgetBuilder = Widget Function(FieldConfig config, {dynamic initialValue, ValueChanged? onChanged, ValueChanged<String?>? onValidation, FormTheme? theme})