The Flutter team built a generative AI-powered coffee shop demo called GenLatte (later Antigravity Coffee Co.) for Google Cloud Next and Google I/O, serving 3,000 custom lattes. The app used Flutter for a multi-screen kiosk, barista, moderator, and queue UI, backed by Firebase. Gemini upscaled short user-entered 'happy place' prompts into detailed image generation requests for Nano Banana, then generated personalized follow-up questions rendered via GenUI — a runtime UI generation approach where Gemini chose from a branded widget catalog to display the right input type per question. Security was handled through three-tiered content moderation, Firebase custom claims for role-based routing, and strict Firestore security rules. The demo showcased Flutter's cross-platform capabilities, Firebase's reactive backend, and GenUI's potential for dynamically tailored user experiences.

10m read timeFrom blog.flutter.dev
Post cover image
Table of contents
We built a coffee shopHow GenLatte worksDemo-grade securityDelivering fun imagesGet Craig Labenz’s stories in your inboxModifying the images in real timeA2UI and GenLatteThree thousand coffees later…
64.5K Impressions