Skip to content
native cook
Esc

Loading the catalog…

Flutter UI blocks and animation examples

Native Cook now ships Flutter. Every Pro block, 299 of them on December 4, 2026, comes with Dart source for Flutter beside React Native, SwiftUI and Jetpack Compose. Watch a block's recording, then copy its Flutter prompt or code into your app.

The recordings show each block's reference demo. The Flutter version follows the same design and motion, but test it in your own app and on your target devices before you ship.

What a Flutter UI block includes

A Native Cook block is one interaction, recorded on video, with a build prompt and source code for each stack it comes in. For Flutter, that means:

  • Dart source laid out under lib/ as it sits in our Flutter gallery app. Block files, shared helpers and the demo screen are marked apart, so you can see what the block needs and what only shows it off.
  • Fragment shaders and artwork where the effect needs them. 148 of the 299 Flutter blocks draw glass, metal, light, haze or foil with .frag shaders loaded through FragmentProgram, not with image sequences.
  • A Flutter prompt for your coding agent. It describes how the block should look and move, asks the agent to merge the asset and shader declarations into your pubspec.yaml, keep the reference aspect ratio, respect MediaQuery.disableAnimationsOf, run flutter analyze and check the block at the start, peak and end of its loop.

Built on the Flutter SDK alone

The gallery the blocks come from depends on the Flutter SDK and nothing else. Motion uses Flutter's own animation classes, painting uses CustomPainter and fragment shaders, and adding a block does not add packages to your dependency tree. Flutter documents shaders in Writing and using fragment shaders.

How to use Flutter blocks

On the website

Open the catalog's filter and set Prompts for to Flutter: the grid then shows only blocks with a Flutter version. On a block's page, choose the Flutter tab to copy its prompt, or open View code to read and copy every file.

With your coding agent

Paste the Flutter prompt into Claude Code, Codex, Cursor or another agent working in your project. The prompt names the files, the shaders and the checks to run, so the agent can place the block in your app's theme and navigation.

Through MCP

Connect the Native Cook MCP server, then pass platform: "flutter" to search_blocks to find only blocks with Flutter code, and to get_block to receive the files. The MCP guide covers Claude Code, Codex, Cursor and VS Code.

Which Flutter block fits your next screen?
BlockStart here when you want to…
Holo Globe OnboardingOpen an app with one strong visual and a single next action.
Liquid Metal SwapShow a token or currency swap as one clear change of state.
Heat Haze WeatherMake the hour-by-hour forecast something people can scrub, not only read.
Thermal Reveal CardReward a touch with hidden content on a card or pass.
Afterglow Lift PayAsk for a deliberate gesture before a payment goes through.
Ember Charge WidgetTurn a daily goal into a card people want to hold.

Loading preview…

Holo Globe OnboardingPro block

A Flutter onboarding screen built around a shader globe

A dark glass globe with holographic land, an iridescent rim and a ring of words orbiting it. Holding the globe turns it to night glass with coastlines, city lights and arcs between pins. A consent line and a Let's go button stay below the artwork.

In the Flutter version

The globe is one fragment shader, globe.frag, drawing from two distance-field textures shipped with the block. The widget, its motion and the demo screen are separate Dart files.

Check in your app

Keep the button usable while the globe moves, and try long labels with larger text. Decide what the hold gesture means in your app before you keep it.

Open Holo Globe Onboarding

Loading preview…

Liquid Metal SwapPro block

A wallet swap screen with a liquid metal transition

A swap screen for an invented wallet: a chrome coin on a dark floor, You pay and You receive cards, rate and fees, and a Hold to swap button. Holding the button sinks the silver coin into a pool of mercury, the pool turns gold and a gold coin rises out of it.

In the Flutter version

The metal pool and coins are drawn by liquid_metal_swap.frag. Timing lives in motion.dart, so the hold duration can be tuned without touching the shader.

Check in your app

Connect the hold to your real quote and confirmation flow, and show a plain confirmation for people who use reduced motion or assistive technology.

Open Liquid Metal Swap

Loading preview…

Heat Haze WeatherPro block

A weather detail page with heat haze and an hour slider

A desert road on a scorching afternoon, with heat haze rising off the ground and a mirage on the road. Scrubbing the hour slider towards evening sinks the sun, calms the haze, cools the colours and rolls the temperature down.

In the Flutter version

The whole scene is one shader, heat_haze_scene.frag. The widget takes a place, a date, an hourly forecast and three stats, so the scene follows your data.

Check in your app

Feed it your own forecast and check the slider with a screen reader. Make sure the temperature and UV values stay readable over every hour of the scene.

Open Heat Haze Weather

Loading preview…

Thermal Reveal CardPro block

A membership card that reveals a map under your thumb

A travel club pass printed in thermochromic ink. Warm it with a thumb and the ink runs through violet, magenta, orange and yellow before it clears to show a hand-drawn map with three coves. Dragging beside the card tilts it and moves its gloss.

In the Flutter version

The ink is thermal_reveal_card.frag over artwork drawn in art.dart. The widget gives a light haptic as each cove appears, describes the card to screen readers and checks MediaQuery.disableAnimationsOf.

Check in your app

Decide whether the hidden content is decoration or information. If people need it, offer it without the gesture too.

Open Thermal Reveal Card

Design reference: original design linked by the block. Credits and removal requests remain available on its detail page.

Loading preview…

Afterglow Lift PayPro block

A lift-to-pay gesture with a light trail

A payment review over a pool of light with a pearl button and Lift to pay. Lifting the button tilts the review back and shows Let go to pay. Letting go darkens the screen, folds the amount into a point of light and lands the payment with a count-up and a drawn check.

In the Flutter version

The light is light.frag; the gesture, its stages and the haptics are in afterglow_lift_pay.dart and motion.dart. The widget checks MediaQuery.disableAnimationsOf.

Check in your app

Keep a standard button as an alternative to the gesture, and confirm the payment only after your backend answers, not when the animation ends.

Open Afterglow Lift Pay

Loading preview…

Ember Charge WidgetPro block

An activity widget that heats up as you near your goal

A dark glass Walk widget with three metrics, a striped light bar and a step count beside a pulsing heart. Holding the card raises its ember light while the count advances towards the goal; reaching it ignites the glass, and releasing early lets it cool.

In the Flutter version

Two shaders, glass.frag and tube.frag, draw the glass and the light bar. The widget passes MediaQuery.disableAnimationsOf to its motion.

Check in your app

Use your real step data and goal, and keep the numbers readable without the glow.

Open Ember Charge Widget

Flutter on Native Cook: questions

Does Native Cook support Flutter?

Yes. Flutter is the fourth stack beside React Native, SwiftUI and Jetpack Compose. On December 4, 2026, all 299 published Pro blocks had a Flutter version.

Are Free blocks available in Flutter?

Yes. Free blocks with a Flutter port show a Flutter tab and offer code after sign-in.

Do the Flutter blocks need third-party packages?

No. The Flutter gallery the blocks come from depends only on the Flutter SDK. Effects such as glass, metal, heat haze and light are fragment shaders declared in pubspec.yaml.

Which Flutter version do I need?

The gallery app targets Dart SDK 3.12 or later. On an older project, check fragment shader support and the APIs a block uses before you add it.

How do I get a Flutter block into my app?

Copy the Flutter prompt from the block's page into your coding agent, open View code to copy the files, or connect the Native Cook MCP server and ask for the block with platform flutter.

Onboarding has the most Flutter blocks, 75 so far. To compare welcome patterns, read our mobile onboarding animation guide; for React Native, see React Native UI blocks and animation examples.