top of page

Divyanshu Bhargava
Co-Founder Stac, Google Developer Expert (Flutter & Dart)
Divyanshu Bhargava is a Co-Founder of Stac. He is a Google Developer Expert in Flutter & Dart and an Organizer of Flutter Abu Dhabi & Dubai. His passion for building apps took him to mobile development. These days, you’ll find him talking about Flutter and the future of tech. He is an open-source enthusiast and an avid tech blogger. When he is not coding, you can find him kayaking, reading, traveling, or thinking about coding.
Generative UIs: Using LLMs to Create Flutter Screens at Runtime
Imagine describing a screen in plain English and seeing it come to life instantly in your Flutter app. With the power of Large Language Models (LLMs), this is now possible.
In this talk, we’ll explore how AI can go beyond code generation to actually generate complete Flutter UIs at runtime. You’ll learn how to leverage LLMs to produce JSON or similar declarative structures that Flutter can render on the fly. We’ll discuss how this approach enables AI-assisted app creation, personalization, A/B testing, and even dynamic screen generation without manual coding or redeploying your app.
We’ll also walk through real examples, challenges, and design patterns for making AI-generated UIs practical, safe, and production-ready.
Key Takeaways:
- How LLMs can describe and generate Flutter UIs dynamically
- Architecture for building runtime UI generation
- Integrating LLMs with SDUI frameworks like Stac or Flutter genUI
- Real-world challenges: validation, consistency, and UX control
- The future of generative development in Flutter
bottom of page