01 / 23
Google Developer Group · DevFest 2026
FLUTTER IN THE AI AGENT ERA
Why Build Once
When AI Can
Build Twice?
Amorn Apichattanakul
Senior Innovation Engineer @KBTG
02 / 23
Building the same feature in Swift and Kotlin no longer carries the cost it used to.
— Mustafa Ali, Shopify Engineering
03 / 23
SHOPIFY’S SHIFT · 2020 → 2026
Shopify Left React Native for AI-Assisted Native.
- 01 · 2020 BET Cross-Platform • Adopted React Native in 2020
- 02 · 2026 REBUILD Swift + Kotlin • Rebuilt 300+ screens in 12 weeks
- 03 · ECOSYSTEM Sunsetting RN • Wound down React Native open source
04 / 23
If AI can write Swift and Kotlin for you, why use cross-platform at all—including Flutter?
05 / 23
CORE THESIS
Flutter Owns the Pixels in One Codebase.
01 · GPU Pixel Ownership
- • Renders custom pixels on the GPU
- • Ships core visuals inside one SDK
02 · Zero-Drift Workflow
- • Prevents platform drift with one codebase
06 / 23
ENGINE & DEPENDENCIES
Flutter Ships Heavy Visuals in the SDK.
01
SliverList
02
Animations
03
Impeller GLSL
3D
Flutter GPU + Stac
- • React Native needs external UI packages
- • Flutter SDK bundles lists, animations, shaders
- • One SDK upgrade advances every visual
07 / 23
PERFORMANCE VS. EFFORT · 120 FPS = 8.3 MS
Extra Native Headroom Beyond 120fps Is Invisible.
Flutter (1 Codebase)
120 FPS (8.3 ms)
Pure Native (2 Codebases)
120 FPS + Unseen Headroom
- • Impeller hits 120fps within 8.3ms frames
- • Unused CPU headroom is invisible onscreen
08 / 23
THE VIBE-CODER MYTH · “AI WRITES CODE FAST”
If AI Generates Native Fast, Why Use Flutter?
-
01 · PRE-AI FLUTTER~40%• Saved ~40% effort vs. 2 manual apps
-
02 · AI + 2 NATIVE CLAIM50–70%• Claims AI saves 50–70% across 2 apps
09 / 23
THE FLAWED ASSUMPTION · 2026 REALITY
That Claim Only Works If Flutter Can’t Use AI.
IF FLUTTER CAN’T USE AI
50–70%
AI Native vs. Manual Flutter
2026 REALITY · FLUTTER + AI
½ PRs
AI Multiplier × 1 Shared Codebase
- • Skeptics assume Flutter cannot use AI
- • AI speeds up Dart and Flutter too
- • Flutter with AI halves total PRs
10 / 23
FULL SDLC · SOURCES: IEEE TSE · IDC · BROOKS · DORA
AI Speeds Up Coding—Not the Other 80% of SDLC.
FASTER WITH AI (BOTH)
80% BEYOND CODING · NOT FASTER WITH AI (DOUBLED ON 2 NATIVE APPS)
20% Coding
25% Auto Tests
25% QA & Parity
30% Ownership
PHASE 1
~20%
Coding
Native + AI & Flutter + AI
PHASE 2
~25%
Automated Tests
2× Test Suites on Native
PHASE 3
~25%
Release QA & Parity
2× Logic & UI Verification
PHASE 4
~30%
Long-Term Ownership
2× Repos, PRs & Maintenance
- • AI only accelerates 20% coding phase
- • Flutter gets faster coding with AI
- • 80% SDLC effort still doubles natively
11 / 23
SHOPIFY’S REBUILD TAX · 4 CUSTOM TOOLS FOR 30 ENGINEERS
AI Native Migrations Require Heavy Verification Harnesses.
01 · No One-Shot
02 · Match Running App
03 · Adversarial Audit
04 · Mandatory Gate
Helix
Checkpoints
Checkpoints
→
Visual UI
Review
Review
→
2 AI Critics
Review
Review
→
“A Human’s
Nod”
Nod”
- • Weeks spent upfront on manual screens
- • Built Helix, Reflex & cloud fleets
- • Human approval gates every migration step
12 / 23
SHOPIFY ENGINEERING · REFLEX ARCHITECTURE
Shopify Built Reflex to Bypass Slow Simulators.
-
01 · NATIVE SIMULATOR WAITMinutes• Emulator boots bottleneck AI agents
-
02 · SHOPIFY REFLEX CLI (1,700+ SPECS)~4 Mins• Strips out UI to test ViewModels via CLI
13 / 23
A BETTER HARNESS BEATS A BETTER PROMPT
Reflex Skips the UI; Flutter Tests Widgets Too.
Shopify Reflex (2 Codebases)
Headless State Only (0% UI)
Flutter Test + MCP (1 Codebase)
100% Logic + Widgets (ms)
- • Reflex skips SwiftUI and Compose UI
- • Flutter tests logic and widgets in ms
14 / 23
THE CORE MATH · “ARGUE ONCE, BUILD ONCE”
One Deterministic Codebase Eliminates Cross-Platform Drift.
2× NATIVE (PROBABILISTIC AI)
Full iOS QA + Full Android QA
~95% Match
~5% Drift
1× FLUTTER (DETERMINISTIC)
Zero Logic/UI Drift
~80–90% Shared Logic & UI Tests
OS QA
- • Two AI apps need CI divergence checks
- • One Dart codebase locks visual parity
- • Teams QA integration instead of logic
15 / 23
THE NEW AI BOTTLENECK · VERIFYING > CODING
← <200ms Hot Reload · Millisecond $ flutter test
Verification—Not Coding—Is Now the Bottleneck.
{
- • Reviewing and testing now bottleneck AI
- • Flutter reviews once with millisecond tests
- • Flutter MCP verifies live widget trees
}
16 / 23
WHERE CROSS-PLATFORM BEAT NATIVE
Shared Engines Win When Visuals Define Products.
70%+
Unity Cross-Platform Engine (70%+ Top 1,000 Mobile Games)
Native / Others
- • Unity powers 70%+ of top games
- • Studios avoid maintaining two 3D engines
- • One shared engine beats building twice
17 / 23
VISUALIZATION AS THE PRODUCT
Brand Experiences Demand One Shared GPU Canvas.
- • RealityKit and Filament feel visibly different
- • Shaders and physics must match exactly
- • Shared C++ engines recreate cross-platform tradeoffs
{ GLSL + 3D }
Swift/RealityKit ≠ Kotlin/Filament
18 / 23
“UNITY FOR APPS” · LIVE DEMOS NEXT
Flutter Embeds Multiple 3D Canvases Inside Native.
- • Flutter GPU renders real-time 3D scenes
- • FlutterEngineGroup adds views at 180kB each
- • Stac streams live server-driven 3D UI
19 / 23
Is Flutter the right choice for everything?
No. Here is where Native wins.
20 / 23
WHERE NATIVE WINS · 01 · SOURCES: FLUTTER DOCS · SPRINGER EMSE
Choose Native for Minimal RAM, Size, and Day-1 OS.
- • Saves ~15–20MB RAM and ~4–10MB binary size
- • Uses ~6–15% less energy on budget phones
- • Unlocks Day-1 OS system controls and materials
21 / 23
WHERE NATIVE WINS · 02 · TWO ORTHOGONAL AXES
Flutter Scales Horizontally; Native Owns OS Surfaces.
FLUTTER · HORIZONTAL CROSS-OS ↔
6 Operating Systems
iOS
Android
Web
macOS
Windows
Linux
Shared App UI, Business Logic & 3D Canvas
NATIVE · VERTICAL OS SURFACES ↕
Deep System Surfaces
Apple Watch · Wear OS Tiles
VisionOS · Android XR
WidgetKit · Glance · Live Activities
CarPlay · Android Auto · App Intents · tvOS
Requires SwiftUI / WidgetKit & Jetpack Glance
- • Flutter spans mobile, web, and desktop
- • Native owns Watch, TV, and spatial
- • System widgets require SwiftUI or Glance
22 / 23
The question is no longer whether AI can build it twice.
Why do we want to own it twice?
23 / 23
Thank You · Open-Source Demos & Agent Skills
Build Once with AI and Deterministic Flutter.
- • Explore 3D demos in flutter_3d repo
- • Try native embedding in flutter-inapp-ios
- • Reuse agent skills for Stac workflows
Amorn Apichattanakul
Senior Innovation Engineer @KBTG
Scan for Slides, Demos & Skills