For Flutter
Open your Flutter project in a coding agent and give it any of the 100 gluestack screens. It builds the screen natively as Flutter widgets in Dart, with the React Native code as the spec.




How it works
The screens are written in React Native. Your agent reads your project and writes the same screen in its framework.
Open your Flutter project in Claude Code, Cursor, Codex or any coding agent that can edit files and run a build.
Copy a screen’s prompt from the catalog and paste it in. Or connect the MCP server and ask for a screen by name.
The agent reads your project, sees it isn’t Expo and writes Flutter widgets in Dart, with the React Native code as the spec for layout, colors and motion.
The line in every prompt
“If your project isn't Expo / React Native (SwiftUI, Jetpack Compose, Flutter...), build this screen natively in its framework, using the code below as the spec.”
$ claude
> Add this screen and make it the first one the app opens. [Pasted text #1 +547 lines]
⏺ Write(lib/sign_in_screen.dart)
⎿ The Sign in screen, in Flutter
⏺ Bash(flutter analyze)
⎿ No issues found!
⏺ Sign in is now the first screen, built natively in Flutter.
Side by side
All ten screens, from the same unedited prompt. Switch light and dark to compare both palettes.


A close match, down to the blooms behind the logo and the passkey row.


The screenshot caught the carousel between two slides.


Initials stand in for the avatar photo.


The album art is drawn in code, as in the original.


The interest chips stretched to full width.


Link card, voice note and reply quote all ported.


Charts and sparklines are redrawn natively, and they match.


Shows the gate-change alert the screen raises after a few seconds.


Laid out like the original.


The longest prompt in the test (85,000 characters, drawn coin piles), and one of the closest matches.
These are ten of the 100 screens. Every one carries the same line, free and Pro.
The test
We pasted the unedited prompt for ten screens into fresh Flutter projects, one screen each. Claude Code (Sonnet) built them, then we ran every port and screenshotted it beside the original.
Ten screens, one model, one run each: a first look, not a benchmark. Flutter was judged on its web build at phone size, not on a phone. Screenshots are the first frame after about five seconds, so a screen mid-animation can look slightly off. Averages cover all ten runs.
| Stack | Built and ran | Avg time | Avg agent cost | Ran on |
|---|---|---|---|---|
| SwiftUI | 10 / 10 | 4.1 min | $0.74 | iPhone 16 Pro, iOS Simulator |
| Jetpack Compose | 9 / 10 | 3.7 min | $0.77 | Pixel 8, Android emulator |
| Flutter | 10 / 10 | 5.6 min | $1.10 | Flutter 3.50, web build at phone size |
Tips
What we would tell a teammate after the test.
The screens load photos from URLs. Image.network works out of the box. Add a caching package such as cached_network_image if you want them cached.
To ship the photos and fonts with the app instead, download them into assets/ and list them in pubspec.yaml.
The screens use Lucide icons. Material and Cupertino icons cover most of them, and pub.dev has Lucide packages for exact matches.
Our Flutter results come from a web build. Run the screen on iOS and Android before you ship it.
Two agents in the test renamed the brand to the project’s name. Name your app and its color in the request, or pass appName and accent through the MCP server.
It is free, took the agent under two minutes in every stack, and came out a close match in all three. A quick way to see how your setup does.
The prompt for a screen: its React Native source in TypeScript, the packages it uses and notes on fitting it to your app. gluestack does not ship Flutter code. Your agent writes the Flutter version in your project, using that source as the spec.
Yes. The agent writes Flutter widgets in Dart: no web view and no React Native runtime. In our test all 10 ports built, and we ran them as a web build at phone size.
Yes. Free and Pro screens carry the same instruction and port the same way: five of the ten screens in our test are Pro. Free screens cost nothing. Pro unlocks every screen for $6 a month, billed yearly.
Any coding agent that can read and edit your project: Claude Code, Cursor, Codex, GitHub Copilot in VS Code and others. Our test used Claude Code with Sonnet. With the gluestack MCP server connected, the agent can also search and fetch screens by itself.
In our test, 5.6 minutes and $1.10 of agent usage per screen on average, from 1.7 to 8.6 minutes.
No. gluestack-ui is a React and React Native library. Here the agent reads a screen’s code as a spec and writes Flutter widgets in Dart, so nothing from gluestack runs in your app.