What the AI app agent can change
The agent uses the same widget registry and project model as the visual editor. Its supported commands include creating screens, adding registered widgets or reusable sections, updating properties, configuring typed state and defining action/API records. It prepares a proposal rather than executing arbitrary Dart in the browser.
This matters because the result remains editable through Inspector and Layers. A generated button should reference a supported action or route. A generated input should bind to compatible state. The project validator checks these contracts before a proposal can replace the current design.
Connect Gemini, Groq or OpenAI GPT
- Open AI assistant on the right.
- Choose Connect AI and select your provider.
- Set a model available to the connection.
- For Gemini/Groq, enter your session API key. For OpenAI GPT, enter the workspace access code supplied by the host.
- Confirm the settings and allow the relevant design and prompt to be sent.
The OpenAI provider uses a protected server relay, keeping the provider key outside the browser build. The host must configure it first. See the secure OpenAI setup steps. Provider charges, quotas and availability are independent of the free editor. Never assume a connection is verified just because a credential was entered.
Write prompts that preserve working behavior
Name the screen and the desired interaction. Identify existing state, actions and navigation that must stay. Mention whether you want a new section, a new screen or a complete replacement template. The quick tasks in the panel provide starting prompts for login, layout polish, loading sections and the Snake arcade.
Improve the Product detail screen.
Keep its productColor binding and add_bag action.
Use a clearer title, price hierarchy and delivery section.
Do not replace other screens or invent a payment backend.A short acceptance check helps: after this change, selecting a color and adding an item should still update the bag. When the requested service is outside the tool's capabilities, ask for an explicit local demonstration and a clear source integration boundary.
Review the proposal before applying it
The conversation shows a summary when a proposal is ready. Open Review changes to inspect the actual operations. Pay particular attention to removed screens, altered bindings and a full template replacement. Applying a proposal creates an undo checkpoint.
The agent's wording is not a substitute for testing. Open Preview and exercise the flow yourself. Try empty input, a disabled condition, a repeated tap and navigation back. If the design changed during generation, prepare a fresh proposal rather than overwriting the newer edits. You can discard a proposal without changing the app.
Understand what leaves the browser
With your permission, the selected provider receives the request, a bounded recent conversation and relevant project definitions: the current screen, screen references, selected widget and behavior configuration. Uploaded local image data is removed from this context. Session credentials are not included in project JSON or ZIP exports.
Use fictional sample data while designing. Browser autosave and model requests are separate operations: saving the project locally does not require an AI request. The connection survives refresh in the same tab; optional Remember on this device keeps it for up to 30 days. Remove credential clears the saved connection. Clearing site storage can also remove projects, so keep JSON backups. Download backups for designs you want to keep.
Handle a failed or unhelpful response
If the provider rejects a request, inspect the model, quota and connection settings. A validation error can mean the proposal referenced missing state or an unsupported widget. Ask for a smaller supported change; do not apply malformed JSON just to make a message disappear.
The copilot does not create production payment processing, authentication, messaging infrastructure or store submissions. It is useful for arranging a coherent interface and connecting supported behavior. Continue complex integrations in the exported Flutter project. Read the complete workspace guide for manual alternatives and the ZIP guide when the flow is ready to leave the editor.
Use your API key for the current workspace session
FlutterFever Studio saves Gemini/Groq connection keys separately from project data. The default tab session survives a refresh; Remember on this device can retain the connection for up to 30 days. They authorize requests to your selected provider, and they are not part of saved project JSON or exported Flutter code. Use Remove credential to clear the saved connection. Browser tab/session restoration is controlled by your browser; device storage expires after 30 days. Switching editor modes keeps the current connection; switching provider clears its credential field and resets consent.
For OpenAI GPT, enter the host's workspace access code. Its provider key stays in private host configuration. Do not paste an OpenAI key into the access-code field. If that connection is not configured, use the manual tools or another supported provider rather than expecting the static frontend to contain a shared secret.
Session handling does not remove a provider's own data policies or billing. Read the complete session and data explanation, use fictional design data and keep credentials out of ordinary project text. Optional AI usage is separate from free visual editing.
Practical prompts for AI-assisted mobile app development
Write the outcome, the screen, what must stay intact and how you will check success. These examples are starting points for the supported visual model, not promises of a complete backend:
Improve a Flutter ecommerce screen
Improve the product details hierarchy on this screen.
Preserve productColor and add_bag.
Keep price, title and primary action easy to find.
Do not replace other screens or add payment claims.Refine a messaging app interface
Make the conversation heading and helper text clearer.
Keep draft, messages and send_message unchanged.
Preserve the composer and Send locally action.
Use supported widgets and a consistent spacing scale.Add an editable form section
Add a supported login form section to the current screen.
Use editable fields and clear labels.
Show that this is a local demo.
Preserve existing routes; do not claim authentication is live.Apply one useful update, try its main interaction, then ask for a refinement. Use the first-app AI exercise to practice the complete prompt, review and retest loop.
Fix connection problems without losing your design
| What you see | What to check |
|---|---|
| Authentication or model error | Review the selected provider, its credential and model access. Enter a fresh key in settings if needed. |
| Rate-limit or quota error | Check provider usage or the host connection's limits. Manual editing remains available while you wait. |
| GPT host unavailable | The owner must enable the protected relay; entering a provider key in the browser will not configure the server. |
| Unsupported or invalid proposal | Ask for a smaller change using registered widgets and existing state/action names. |
| Project changed during generation | Discard the stale proposal and generate against the current design. |
Keep a JSON backup before large changes. If an applied result is unhelpful, use Undo and try a narrower prompt. Review the workspace troubleshooting checklist or continue manually; connecting AI is not a prerequisite for source export.