formless 0.1.4
formless: ^0.1.4 copied to clipboard
A Flutter package that turns any list of fields into an AI-powered conversational form. Validates answers via Groq, OpenAI, Gemini, or DeepSeek and returns a clean key->value map when all fields are collected.
Changelog #
0.1.3 #
- Added optional
onErrorcallback onFormless/ChatLayoutso host apps can log or surface validation and API failures. - Documented
QuestionsModel.onValidate(post-AI checks such as nickname availability) in README, API table, and dartdocs. - Exclude local
build/from the published tarball via.pubignore. - Version bump for pub.dev publication.
0.1.2 #
- Updated demo GIF.
0.1.1 #
- Added
backgroundColorparameter toFormlessfor background color control. - Added
unexpectedErrorMessageparameter to customize the error banner text. - API and network errors now show a dismissible banner instead of a chat bubble.
- User's message is automatically restored in the input field after an API error.
- Added demo GIF to README.
0.1.0 #
- Initial release.
- Conversational chat UI that collects form fields one at a time.
- Supports Groq, OpenAI, Gemini, and DeepSeek as AI providers.
- Per-field validation via LLM with custom
validationMessageoverride. FormlessThemefor full color and input field customization.- Optional
modelparameter to override the provider's default model. - Long-press any sent answer to edit it and roll back the conversation.
- Automatic JSON retry and 429 rate-limit backoff.