Form Editor Packages
The Form Editor module is two packages — a runtime library for rendering and managing forms, and an editor library for visually designing them. You almost always want both during development and just the runtime in production.
Authenticate with pub.vyuh.tech first
Both Form Editor packages is hosted on the private pub.vyuh.tech registry. Before running pub get, register a Bearer token issued by Vyuh Technologies based on your plan.
Run the one-time setup:
dart pub token add https://pub.vyuh.techDon't have a token yet? Email ask@vyuh.tech to request one. For full details (CI, Docker, rotation, troubleshooting), see the Pub Token Setup guide.
Packages
| Package | Version | Role |
|---|---|---|
vyuh_feature_forms | 1.18.3 | Form runtime — models, 12 field types, validation, conditional rules, step forms, and the fluent `FormBuilder` DSL. Required at runtime to render any form. |
vyuh_form_editor | 1.2.2 | Visual designer — drag-drop canvas, field palette, properties panel, import/export. Use it at authoring time; you can strip it from production builds. |
vyuh_feature_forms1.18.3Form runtime — models, 12 field types, validation, conditional rules, step forms, and the fluent `FormBuilder` DSL. Required at runtime to render any form.
vyuh_form_editor1.2.2Visual designer — drag-drop canvas, field palette, properties panel, import/export. Use it at authoring time; you can strip it from production builds.
How they fit together
vyuh_feature_formsis the floor. It contains every runtime primitive (field types, validators, conditions, actions, the FormBuilder DSL). Any Flutter app that renders a form built by this module needs this package.vyuh_form_editoradds the visual authoring experience on top. It depends on the runtime to understand field schemas and preview the rendered form inside the canvas.
Pick the combination that matches your build
Runtime-only (end-user app)
The most common production setup — render forms authored elsewhere, no design UI in the shipping app:
dependencies:
vyuh_feature_forms:
hosted: https://pub.vyuh.tech
version: ^1.18.3This is the smallest footprint. Forms are loaded from JSON or built with the FormBuilder DSL in Dart code, then rendered with the runtime widgets.
Runtime + editor (authoring tool, internal admin)
Add the editor for admin apps, authoring tools, or any build that lets users design forms interactively:
dependencies:
vyuh_feature_forms:
hosted: https://pub.vyuh.tech
version: ^1.18.3
vyuh_form_editor:
hosted: https://pub.vyuh.tech
version: ^1.2.2The editor re-exports the runtime under the hood, so you can import either package and still access the shared types.
See also
- Installation — setup walkthrough
- Quick Start — build a course enrollment form in 5 minutes
- Architecture — package split and descriptor system
- FormBuilder DSL — the fluent API used to define forms in Dart