# Flutter Community

Articles and Stories from the Flutter Community - Medium

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Stop Hand-Writing Your Flutter Network Layer: vexana 6 + AI Skills

DevFeed: [Stop Hand-Writing Your Flutter Network Layer: vexana 6 + AI Skills](<https://devfeed.tech/articles/stop-hand-writing-your-flutter-network-layer-vexana-6-ai-skills-144674.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/stop-hand-writing-your-flutter-network-layer-vexana-6-ai-skills-24f09e67bf73?source=rss----86fb29d7cc6a---4>)

Author: Veli Bacık

Published: 2026-11-19T15:06:43Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [adapters](<https://devfeed.tech/tags/adapters.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-assistant](<https://devfeed.tech/tags/ai-assistant.md>), [ai-skills](<https://devfeed.tech/tags/ai-skills.md>), [all](<https://devfeed.tech/tags/all.md>), [app](<https://devfeed.tech/tags/app.md>), [await](<https://devfeed.tech/tags/await.md>), [base](<https://devfeed.tech/tags/base.md>), [building](<https://devfeed.tech/tags/building.md>), [can](<https://devfeed.tech/tags/can.md>), [case](<https://devfeed.tech/tags/case.md>), [class](<https://devfeed.tech/tags/class.md>), [dart](<https://devfeed.tech/tags/dart.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [hand](<https://devfeed.tech/tags/hand.md>), [layer](<https://devfeed.tech/tags/layer.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [network](<https://devfeed.tech/tags/network.md>), [skills](<https://devfeed.tech/tags/skills.md>), [stop](<https://devfeed.tech/tags/stop.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

vexana 6 adds a typed networking layer on Dio: requests return sealed success or error results, API error bodies can be parsed into models, and queued 401 refresh handling retries requests while using a separate manager for the refresh call. Optional caching, offline retry UI, logging, uploads, downloads and cancellation are also described. The excerpt demonstrates fetching and displaying a typed user list with cached requests. Its four AI skills set up a network layer, generate models and services from JSON, create multiple features with fakes and tests, and migrate vexana 4.x or 5.x projects. The skills use tested templates and run `dart analyze` and `flutter test`; bulk generation and migrations show planned changes for confirmation. This overview reflects the supplied excerpt, not necessarily the full article.

### Source excerpt

A typed, testable networking layer on top of dio, and AI skills that write it for youhttps://pub.dev/packages/vexana Every Flutter app has the same chore hiding in it: the network layer. A Dio instance, a base URL, an error model, a model class per endpoint with fromJson and toJson, a service that wraps the calls, and -- if you are disciplined -- tests with fixtures and mocks. None of it is hard. All of it is repetitive. And in 2026 it is exactly the kind of work you should not be typing by hand. This post covers four things: Why vexana: what it handles for you that plain dio doesn't. Building a user list, step by step, from model to screen. The live playground, so you can try it without installing anything. The new vexana AI skills: four skills your AI assistant can follow to set up the layer, turn JSON into models, services, fakes and tests, and migrate old projects. 1. Why vexana? vexana is a networking layer for Flutter built on dio. You keep everything dio gives you (interceptors, adapters, CancelToken, FormData) and stop rewriting the parts every app ends up needing. Where does the name come from? Vexana is a hero in Mobile Legends, and the one I loved playing the most. When I was writing a library whose whole job is to pull data in from the network, her name was the first thing that came to mind, and it stuck.Typed models and a sealed result You parse into your own classes, not Map<String, dynamic>, and every request returns a NetworkResult: either NetworkSuccessResult with your data or NetworkErrorResult with the error. It's a sealed class, so a switch that forgets the error case doesn't compile. final result = await manager.sendRequest<User, List<User>>( '/users', parseModel: const User(), method: RequestType.GET, ); final message = switch (result) { NetworkSuccessResult(:final data) => '${data.length} users', NetworkErrorResult(:final error) => 'Failed: ${error.description}', }; Prefer callbacks? result.fold(onSuccess: ..., onError: ...) does the same. Refre

## The $1,100 Surprise: A Flutter Developer's Guide to Securing Google Maps API Keys

DevFeed: [The $1,100 Surprise: A Flutter Developer's Guide to Securing Google Maps API Keys](<https://devfeed.tech/articles/the-1-100-surprise-a-flutter-developer-s-guide-to-securing-google-maps-api-keys-139420.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/the-1-100-surprise-a-flutter-developers-guide-to-securing-google-maps-api-keys-5afd85023477?source=rss----86fb29d7cc6a---4>)

Author: Bornak Paul

Published: 2026-11-17T22:07:07Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Google Maps](<https://devfeed.tech/topics/google-maps.md>), [Google](<https://devfeed.tech/topics/google.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [billing](<https://devfeed.tech/tags/billing.md>), [browser](<https://devfeed.tech/tags/browser.md>), [build](<https://devfeed.tech/tags/build.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-platform](<https://devfeed.tech/tags/cloud-platform.md>), [console](<https://devfeed.tech/tags/console.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [disaster](<https://devfeed.tech/tags/disaster.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [gcp](<https://devfeed.tech/tags/gcp.md>), [git](<https://devfeed.tech/tags/git.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud-platform](<https://devfeed.tech/tags/google-cloud-platform.md>), [google-maps](<https://devfeed.tech/tags/google-maps.md>), [ios](<https://devfeed.tech/tags/ios.md>), [keys](<https://devfeed.tech/tags/keys.md>), [mobile-security](<https://devfeed.tech/tags/mobile-security.md>)

### AI overview

The excerpt attributes unexpected Google Maps Platform bills of $842 and $1,120 to one unrestricted API key reused across Flutter Android, iOS, and Web and exposed through shared Git repositories and browser inspection. A shared key lets someone who obtains it use the account's Maps services, and compromise leaves no way to revoke access without affecting all three platforms. The excerpt identifies separating and restricting keys as the intended fix, but cuts off before giving implementation steps.

### Source excerpt

A cautionary tale on how copy-pasting a single unrestricted Google Maps API key across Android, iOS, and Flutter Web led to massive billing spikes -- and how to fix your GCP security in 10 minutes. The Invoice That Made Our Hearts Drop It arrived quietly in our inbox on a Tuesday morning: a Google Cloud Platform invoice showing an unexpected charge of $842. The following month, another arrived for $1,120. Our app hadn't suddenly gone viral. Our active user numbers hadn't spiked. Yet, our Google Maps Platform consumption was skyrocketing. When we opened the GCP console to investigate, the realization hit us like a bucket of ice water: we were using a single, completely unrestricted Google Maps API key across our entire Flutter codebase. Because Flutter makes multi-platform delivery so effortless, it had been all too easy to take the same API key and drop it into android/app/src/main/AndroidManifest.xml, ios/Runner/AppDelegate.swift, and web/index.html. It was checked into Git repositories shared with past contractors, active devs, and former team members. Worse yet, anyone who opened Chrome Developer Tools on our Flutter Web build could grab our key in plain text. If this sounds uncomfortably familiar, you're not alone. In this post, we'll look at why the "one key for all Flutter targets" anti-pattern is a financial disaster and how to properly isolate and restrict your keys. The Flutter Multi-Platform Trap When building with Flutter, it's tempting to create a single key named flutter-maps-key and reuse it everywhere. Here is why that approach fails catastrophically: Flutter Web Exposes Keys to the World: Flutter Web builds render directly in the browser. Anyone inspecting your web/index.html or network requests can steal your key and use it to power their own apps or scraping scripts on your dime. Revocation Paralysis: If your key is compromised, deleting it instantly bricks your Android app, iOS app, and Web app simultaneously. You cannot fix the Web vulnerability w

## Direct Native Interop in Flutter 3.50: Let's understand it!

DevFeed: [Direct Native Interop in Flutter 3.50: Let's understand it!](<https://devfeed.tech/articles/direct-native-interop-in-flutter-3-50-let-s-understand-it-131176.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/native-interop-6aef2eae745e?source=rss----86fb29d7cc6a---4>)

Author: Abhishek Doshi

Published: 2026-11-12T18:47:17Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [async](<https://devfeed.tech/tags/async.md>), [background](<https://devfeed.tech/tags/background.md>), [dart](<https://devfeed.tech/tags/dart.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [flutter-3-50](<https://devfeed.tech/tags/flutter-3-50.md>), [flutter-app-development](<https://devfeed.tech/tags/flutter-app-development.md>), [interop](<https://devfeed.tech/tags/interop.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [native](<https://devfeed.tech/tags/native.md>), [objective-c](<https://devfeed.tech/tags/objective-c.md>), [platform](<https://devfeed.tech/tags/platform.md>), [preview](<https://devfeed.tech/tags/preview.md>), [production](<https://devfeed.tech/tags/production.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [swift](<https://devfeed.tech/tags/swift.md>), [thread](<https://devfeed.tech/tags/thread.md>), [toast](<https://devfeed.tech/tags/toast.md>)

### AI overview

Flutter 3.50 makes direct native interop production-ready through JNIgen for Java/Kotlin and FFIgen for Objective-C; Swift works when exposed through Objective-C with `@objc`. Generated, type-safe Dart bindings let apps call native APIs directly, synchronously, and from background isolates, avoiding platform-channel message serialization and boilerplate. The excerpt demonstrates JNIgen setup and a direct Android toast call, and describes using FFIgen with Objective-C headers on iOS. Pigeon's Native Interop integration remains a preview, limited to Android, iOS, and macOS, with no `@TaskQueue` support. Direct calls require care with JNI object references, thread placement, native type checks, and R8/ProGuard; JNIgen also requires an initial Android app build. The source advises keeping stable platform channels and considering interop for new integrations or calls needing synchronous results or better performance.

### Source excerpt

It's time to say goodbye to platform channel boilerplate and call native code directly from Dart! Flutter 3.50 is here, and one feature I'm personally very excited about is direct native interop going stable! If you have ever written a platform channel, you know the drill. A channel name string in Dart. The same string again in Kotlin. The same again in Swift. And if any one of them doesn't match, you find out at runtime with a MissingPluginException. We all have been there 😅 With Flutter 3.50, that changes. Let's understand what it is and how to use it! What is Direct Native Interop? Until now, the standard way to talk to Android or iOS from Flutter was platform channels. Your Dart code sends a message, it gets serialized, it reaches the native side, native code does the work, and the reply comes back the same way. Every call is async and pays this cost. Direct native interop means your Dart code calls Java, Kotlin, or Objective-C APIs directly, using type-safe Dart bindings generated for you. In simple words, calling a native API becomes just like calling a normal Dart function. No channel names, no MethodCall switch, no Future for something that should be a simple function call. What's new in Flutter 3.50? JNIgen (for Java and Kotlin) is now production-ready. FFIgen (for Objective-C) is now production-ready. Swift works too, as long as your Swift code is exposed to Objective-C using @objc. A Pigeon Native Interop (Preview) that generates type-safe bindings on top of both. You can call native code synchronously, and even from background isolates. PS: This was possible because of the thread merge that started in Flutter 3.29. Dart code now runs on the platform's main thread on Android and iOS (and later on desktop too), so there is no wall between Dart and native anymore. How to use it? Let's take the classic "show a toast" example. Earlier, with a platform channel, you had to write Dart: const channel = MethodChannel('com.example/toast'); Future<void> showToast(St

## How Flutter's Material and Cupertino Decoupling is Changing Cross-Platform UI Development

DevFeed: [How Flutter's Material and Cupertino Decoupling is Changing Cross-Platform UI Development](<https://devfeed.tech/articles/how-flutter-s-material-and-cupertino-decoupling-is-changing-cross-platform-ui-development-122374.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/how-flutters-material-and-cupertino-decoupling-is-changing-cross-platform-ui-development-da944fbb9977?source=rss----86fb29d7cc6a---4>)

Author: Ella Wilson

Published: 2026-11-07T21:48:16Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [material-components](<https://devfeed.tech/topics/material-components.md>), [liquid glass](<https://devfeed.tech/topics/liquid-glass.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [cross-platform-ui](<https://devfeed.tech/tags/cross-platform-ui.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [design-systems](<https://devfeed.tech/tags/design-systems.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [flutter-app-development](<https://devfeed.tech/tags/flutter-app-development.md>), [flutter-ui](<https://devfeed.tech/tags/flutter-ui.md>), [framework](<https://devfeed.tech/tags/framework.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [material](<https://devfeed.tech/tags/material.md>), [regression-testing](<https://devfeed.tech/tags/regression-testing.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Flutter 3.47 introduced independently versioned `material_ui` and `cupertino_ui` packages, allowing supported Material and Cupertino updates without waiting for a core SDK release. This can give teams more control over platform-specific UI changes, subject to SDK and dependency compatibility. The packages remain Flutter-rendered widgets, so they do not provide native behavior automatically; teams still need to validate conventions, accessibility, animations, and interactions. Migration risks include third-party or shared APIs exposing legacy widget types, which Dart treats as distinct from types in the standalone libraries. Audit dependencies and shared widgets, check compatibility, and review localization and UI behavior. Compatibility bridges can help with inherited theme and localization context but do not resolve public API type mismatches. The excerpt says improvements to style-neutral widgets remain ongoing and are not automatically available through the standalone packages.

### Source excerpt

Flutter has long enabled developers to build Android and iOS applications from a shared codebase while supporting platform-specific interfaces through Material and Cupertino widgets. However, because these design libraries were bundled with the Flutter SDK, even minor framework-provided UI improvements could require a complete SDK upgrade, potentially introducing unrelated changes and additional regression testing. In August 2026, Flutter 3.47 addressed this limitation by introducing independently versioned material_ui and cupertino_ui packages. Officially announced in September 2026, this architectural change allows Flutter's design libraries to evolve separately from the core framework, with implications for platform-specific UI updates, custom design systems, and long-term application maintenance. How Decoupling Changes Cross-Platform UI Development For developers, the change affects more than package updates. It also influences how platform-specific interfaces evolve, how custom design systems are built, and how UI dependencies are managed across applications. 1. Faster Adoption of Platform-Specific UI Changes Google's Material 3 Expressive and Apple's Liquid Glass introduce new visual treatments and interaction patterns. Flutter's standalone design libraries let teams implement these evolving design systems without waiting for the next Flutter SDK update. Applications maintaining separate Android and iOS interfaces can incorporate supported design updates through the relevant package, subject to SDK and dependency compatibility. This gives teams greater control over when to adopt new platform conventions without requiring coordinated changes to both UI libraries. However, decoupling does not automatically deliver native UI behavior. Material and Cupertino remain Flutter-rendered widget libraries, and developers must still implement appropriate platform conventions and validate accessibility, animations, and interactions. 2. Better Foundations for Custom Design

## Flame Gallery: Drop-in Mini Games for Flutter Apps

DevFeed: [Flame Gallery: Drop-in Mini Games for Flutter Apps](<https://devfeed.tech/articles/flame-gallery-drop-in-mini-games-for-flutter-apps-105646.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/flame-gallery-drop-in-mini-games-for-flutter-apps-6df3476482fb?source=rss----86fb29d7cc6a---4>)

Author: Veli Bacık

Published: 2026-10-28T17:02:27Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Phaser](<https://devfeed.tech/topics/phaser.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [browser-game](<https://devfeed.tech/topics/browser-game.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [android](<https://devfeed.tech/tags/android.md>), [apps](<https://devfeed.tech/tags/apps.md>), [await](<https://devfeed.tech/tags/await.md>), [bridge](<https://devfeed.tech/tags/bridge.md>), [browser](<https://devfeed.tech/tags/browser.md>), [campaign](<https://devfeed.tech/tags/campaign.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [ci](<https://devfeed.tech/tags/ci.md>), [dart](<https://devfeed.tech/tags/dart.md>), [drop-in](<https://devfeed.tech/tags/drop-in.md>), [flame](<https://devfeed.tech/tags/flame.md>), [flame-engine](<https://devfeed.tech/tags/flame-engine.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [games](<https://devfeed.tech/tags/games.md>), [html5](<https://devfeed.tech/tags/html5.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [library](<https://devfeed.tech/tags/library.md>), [loyalty](<https://devfeed.tech/tags/loyalty.md>), [maestro](<https://devfeed.tech/tags/maestro.md>), [mini](<https://devfeed.tech/tags/mini.md>)

### AI overview

Flame Gallery is an MIT-licensed Flutter/Flame library for adding configurable mini-games through an awaited `FlameGallery.show` call. It returns a typed `GameResult` and streams game events, allowing host apps to use scores and stats for rewards or analytics. The four separate game packages cover slicing, lane running, match-three, and rhythm play; shared core code handles menus, phases, overlays, and results. The excerpt describes custom themes, assets, menus, and difficulty, with audio supplied by the host through an interface. Compared with HTML5 games in a WebView, the article says games render with Flutter, ship assets in the app bundle for offline use, and avoid a JavaScript bridge. It also details per-game image caches cleared on close, deterministic gameplay randomness, pure-Dart logic tests, Flame flow tests, and Maestro end-to-end tests. Planned work includes native iOS/Android add-to-app support, Android back-gesture polish, and profile-mode frame-time measurements.

### Source excerpt

One line, one game Marketing asks for "a little game in the app" every few months: a summer campaign, a loyalty reward, a daily challenge. Each time, a team builds a one-off screen that nobody wants to maintain afterwards. Flame Gallery turns that into one dependency and one call: final result = await FlameGallery.show(context, game: const FruitSlice()); The call pushes a full screen game with start, pause and game over menus, and completes with a GameResult you can turn into points, coupons or analytics. It is open source (MIT), built on Flame, and you can play it in your browser right now. In numbers: 6 packages on pub.dev - 4 games - about 6,000 lines of library code - unit and game tests in every package - 6 Maestro end-to-end flows on iOS and Android. From WebView games to native power For years, the mini game inside a mobile app was usually an HTML5 game: JavaScript running in a WebView. It works, but you can feel it. Here is what changes when the game is drawn by Flutter itself: Rendering. A WebView game runs a browser engine inside your app. Flame Gallery draws with Flutter's own engine, the same one drawing the rest of your UI. First load. No pages, scripts or assets to download. Everything ships in the app bundle and works offline. Touch and frame rate. No extra layers between the finger and the frame. Gestures and frames are handled natively by Flutter. Score back to the app. No JavaScript bridge and string messages. You get a typed Dart GameResult from an await. Look and feel. No separate web styling to keep in sync. The game uses your app's Theme, font and colors. Who maintains it. Not a separate web team: the same Flutter team, the same CI. That is the core idea: campaign games get the same native performance as the rest of your app, and the integration is one awaited function call instead of a bridge. Four games, four Flame techniques Every game package has the same inside: src/logic/ is pure Dart with unit tests, src/component/ holds one Flame compon

## Migrating A Flutter Project to Built In Kotlin

DevFeed: [Migrating A Flutter Project to Built In Kotlin](<https://devfeed.tech/articles/migrating-a-flutter-project-to-built-in-kotlin-105647.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/migrating-a-flutter-project-to-built-in-kotlin-e0e41f2ea11a?source=rss----86fb29d7cc6a---4>)

Author: tomerpacific

Published: 2026-10-28T15:42:03Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Android](<https://devfeed.tech/topics/android.md>), [Tool](<https://devfeed.tech/topics/tool.md>)

Tags: [built-in](<https://devfeed.tech/tags/built-in.md>), [dart](<https://devfeed.tech/tags/dart.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

### AI overview

Migrating a Flutter project to built-in Kotlin requires Flutter 3.44 or later and, for AGP 9 support, updates to the Android build configuration. The article says to use Flutter's stable channel, upgrade Flutter, set the minimum Flutter version in pubspec.yaml, remove the applied Kotlin Android plugin from the app build file, replace kotlinOptions with the Kotlin compilerOptions block, and update gradle.properties. Android Studio Otter 3 is identified as the first version supporting AGP 9. Dependencies must also support built-in Kotlin; otherwise, the author recommends replacing them or delaying migration. A pure Dart script can inspect a project and propose edits, but changes require approval, manual steps remain, and dependency blockers may persist. Its sample report also cautions that duplicate settings.gradle files can make findings misleading.

### Source excerpt

🙌 TL;DR I created a dart script to automatically migrate your Flutter project with ease. You can find it at the bottom of this article. If your application or plugin supports Flutter version >= 3.44, then you might consider migrating it to use Built In Kotlin support. This is needed in order to support Android Gradle Plugin (AGP) versions >= 9. If you are not supporting Flutter version >= 3.44 or if your project is not currently using AGP >= 9, you don't need to do this right now, but you might want to consider it. I have undergone this migration process with one of my applications, and would like to share the process I had to go through, so you may have an easier going though it. ✋ If you have a Flutter plugin that is a pure Dart plugin (meaning no native Android code), then you don't need to do anything regarding the migration and you can leave it as is.Setting up Flutter >= 3.44 The first thing you need to do in order to migrate your application/plugin is to make sure you are on a Flutter version that supports it. That means, to upgrade your local Flutter version to at least 3.44. Before you upgrade the version, make sure you are on the stable channel in Flutter. You can do so by opening up a terminal and typing: flutter channel If the output shows you that you are on the stable channel, you can proceed to upgrade by typing: flutter upgrade This will upgrade your Flutter version to the latest one in the stable channel. After doing this, we need to also declare in our pubspec.yaml file what our minimum supported Flutter version is: environment: sdk: ^3.2.0 flutter: '>=3.44.0'Upgrading AGP >= 9 (the manual approach) To upgrade the Android Gradle Plugin version to be >= 9, you need to open the android folder of your Flutter project. Make sure you have at least Android Studio Otter 3 since that is the first version that supports AGP 9. Once you have opened the project, you can use the AGP Upgrade Assistant under the Tools menu option. Now, there are several changes you need

## Flutter Gemma: The hidden gem of cross-platform local AI

DevFeed: [Flutter Gemma: The hidden gem of cross-platform local AI](<https://devfeed.tech/articles/flutter-gemma-the-hidden-gem-of-cross-platform-local-ai-60026.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/flutter-gemma-the-hidden-gem-of-cross-platform-local-ai-cffdaaf007de?source=rss----86fb29d7cc6a---4>)

Author: Mobile@Exxeta

Published: 2026-09-25T19:59:46Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Local AI](<https://devfeed.tech/topics/local-ai.md>), [Flutter](<https://devfeed.tech/topics/flutter.md>), [gemma](<https://devfeed.tech/topics/gemma.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [acceleration](<https://devfeed.tech/tags/acceleration.md>), [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [apple](<https://devfeed.tech/tags/apple.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [engine](<https://devfeed.tech/tags/engine.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [flutter-app-development](<https://devfeed.tech/tags/flutter-app-development.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [gemini-nano](<https://devfeed.tech/tags/gemini-nano.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [generation](<https://devfeed.tech/tags/generation.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [ios](<https://devfeed.tech/tags/ios.md>), [litert](<https://devfeed.tech/tags/litert.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llms](<https://devfeed.tech/tags/llms.md>), [local-ai](<https://devfeed.tech/tags/local-ai.md>), [local-llm](<https://devfeed.tech/tags/local-llm.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>)

### AI overview

Flutter Gemma v1.x enables shared Flutter code for local LLM product features while leaving inference to platform-specific engines: MediaPipe supports .task/.bin models and LiteRT-LM supports .litertlm models, with different platform availability. The demo covers text generation, structured analysis, embeddings, SQLite-based RAG, and multi-turn chat. It requires supported converted model formats; quantized models reduce size and RAM needs but may lose quality, and actual inference memory can exceed download size. Results with Qwen3 0.6B were useful for short rewriting and classification, but entity extraction was unreliable and chat quality limited by hallucinations and context length. Gecko 256 supported English similarity matching in the demo. The authors present Flutter as practical for shared-codebase features without strict real-time demands, while recommending native development for performance-critical or hardware-specific needs; complex text tasks remain error-prone.

### Source excerpt

Build Flutter mobile apps with cutting-edge local LLM featuresPhoto by Google DeepMind from Pexels One codebase, multiple platforms, and all using local LLMs -- can this work without compromises? When thinking about integrating local LLM features into your app, you will also start thinking about performance soon. The answer to performance is often "build native". It makes perfect sense considering with LLMs you'll want GPU access and NPU acceleration. All that is platform-specific. And yet, Flutter Gemma v1.x takes a modular approach to resolve this conflict. In this article we'll show you exactly how this works using a real demo app for Android and iOS with six feature areas: setup, text generation, analysis, embeddings, RAG capabilities, and chat. Why Cross-platform for on-device AI? For classical business use cases, the argument for having one codebase is well-known: Write logic once and deploy on multiple platforms like iOS and Android. For features including local models, this becomes more important because model handling and prompting strategies come on top of classical UI frontend development. Things you really don't want to maintain in more than one place. The inference itself stays platform-specific. Native runtimes, GPU, and NPU access differ fundamentally between Android and iOS. Android relies on open acceleration APIs such as NNAPI and GPU delegates via LiteRT, used to run Gemini Nano on modern Android devices. Apple devices use Core ML and the Neural Engine to run the Foundation Model inside a closed, vendor-specific stack. A good cross-platform layer bridges this gap without hiding it. The developer is still in control of which engine runs on which platform. For real-time applications where performance is critical, native development remains the way to go. However, for most product features related to on-device local LLMs, Flutter is becoming an increasingly viable choice. The Ecosystem: Cross-platform options for local LLMs Before diving deep into Flu

## Your Adaptive UI Has No Screenshot

DevFeed: [Your Adaptive UI Has No Screenshot](<https://devfeed.tech/articles/your-adaptive-ui-has-no-screenshot-57453.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/your-adaptive-ui-has-no-screenshot-1babc65c38f7?source=rss----86fb29d7cc6a---4>)

Author: Rudraksh Shukla

Published: 2026-09-21T15:46:17Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Mobile](<https://devfeed.tech/topics/mobile.md>), [test](<https://devfeed.tech/topics/test.md>), [App](<https://devfeed.tech/topics/app.md>), [interface](<https://devfeed.tech/topics/interface.md>), [context](<https://devfeed.tech/topics/context.md>), [bug](<https://devfeed.tech/topics/bug.md>), [feature flags](<https://devfeed.tech/topics/feature-flags.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [dart](<https://devfeed.tech/tags/dart.md>), [feature-flags](<https://devfeed.tech/tags/feature-flags.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [github](<https://devfeed.tech/tags/github.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [screenshot](<https://devfeed.tech/tags/screenshot.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A tutorial on testing adaptive mobile interfaces that render differently based on live context. It distinguishes logic errors, flickering layouts, and valid layouts that rarely appear, then recommends modeling context as a plain value to make test cases easier to write.

### Source excerpt

Part 2 of The Death of the Static UI -- how to test, review and ship an interface that renders differently for every user Everything here runs. Clone it, run the tests, drag the sliders: github.com/rudrakshshukla/context_aware_transit A bug report lands on a Tuesday. This is all it says: "The Buy ticket button was gone. Pixel 8, around 8am. No screenshot, sorry." You open the app. The button is there. QA opens the app. The button is there. You check the crash logs, the feature flags, the release diff. Nothing. The ticket sits in triage for eleven days. Then someone closes it: cannot reproduce. But it was reproducible. Just not at your desk, at 3pm, sitting still, on office Wi-Fi. And that is the only context your tests have ever run in. This is what Part 1 costs you. Once your UI is built from live context instead of a fixed layout, "does the screen look right?" has no answer. There is no screen. There are thousands of them, one for every combination of context, and your tests have seen about four. The good news: other fields solved this long ago. Mobile just hasn't caught up. Three ways an adaptive UI breaks Most teams treat these as one problem. They are three, and each needs a different test. 1. Wrong screen. The app read the context correctly, then picked the wrong layout. Someone running for a train gets a browse grid. This is a logic bug, and logic is cheap to test. 2. Flickering screen. The app picked correctly twice, three seconds apart, and the layout changed under the user's thumb. Every single frame is correct. The bug only exists over time. This is almost certainly our Tuesday ticket. 3. Screen nobody sees. A layout that is correct, stable, and never happens. You build a feature that only appears in bright sunlight, while driving, above 90% battery. That is 0.3% of sessions. The feature is dead and nobody notices. Widget tests catch the first one badly. They cannot see the other two at all. First, make context a plain value Everything else depends on this

## The Death of the Static UI: Building Context-Aware Mobile Apps in 2026

DevFeed: [The Death of the Static UI: Building Context-Aware Mobile Apps in 2026](<https://devfeed.tech/articles/the-death-of-the-static-ui-building-context-aware-mobile-apps-in-2026-23054.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/the-death-of-the-static-ui-building-context-aware-mobile-apps-in-2026-ddd06d25a473?source=rss----86fb29d7cc6a---4>)

Author: Rudraksh Shukla

Published: 2026-09-14T17:02:27Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Dynamic AI user experience](<https://devfeed.tech/topics/dynamic-ai-user-experience.md>), [mobile-ui-design](<https://devfeed.tech/topics/mobile-ui-design.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [layout](<https://devfeed.tech/topics/layout.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Interaction Design](<https://devfeed.tech/topics/interaction-design.md>), [mobile optimization](<https://devfeed.tech/topics/mobile-optimization.md>), [material-you](<https://devfeed.tech/topics/material-you.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [Android](<https://devfeed.tech/topics/android.md>), [ML Kit](<https://devfeed.tech/topics/ml-kit.md>), [Spotify](<https://devfeed.tech/topics/spotify.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [22](<https://devfeed.tech/tags/22.md>), [about](<https://devfeed.tech/tags/about.md>), [accelerometer](<https://devfeed.tech/tags/accelerometer.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [balance](<https://devfeed.tech/tags/balance.md>), [boost](<https://devfeed.tech/tags/boost.md>), [build](<https://devfeed.tech/tags/build.md>), [building](<https://devfeed.tech/tags/building.md>), [calendar](<https://devfeed.tech/tags/calendar.md>), [can](<https://devfeed.tech/tags/can.md>), [context](<https://devfeed.tech/tags/context.md>), [death](<https://devfeed.tech/tags/death.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [mobile-apps](<https://devfeed.tech/tags/mobile-apps.md>), [mobile-development](<https://devfeed.tech/tags/mobile-development.md>), [static](<https://devfeed.tech/tags/static.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

The article's central recommendation is to make mobile interfaces adapt to context using local signals and on-device inference. It describes a Flutter pipeline that collects motion, light, battery, time and usage data, predicts intent, then updates the widget tree through reactive streams; examples include larger, simpler controls while moving and richer layouts when browsing. It names tflite_flutter, Google ML Kit, Core ML bridges and sensor packages, and suggests small quantized models, low-rate sampling, battery-aware work and background isolates for heavier inference. It also highlights tradeoffs: adaptive screens complicate QA, so context should be injectable for tests; designers should define bounds, adaptation should occur at stable moments, and users should be able to inspect and reset personalization. The article presents local inference as a privacy measure and mentions federated learning and differential privacy for model improvement, while noting that cited business figures are directional marketing research.

### Source excerpt

Every app you've ever shipped made the same quiet assumption: the interface is a fixed thing. You design a screen, you lay out the widgets, and every user sees the same arrangement in the same order -- a 22-year-old on a commuter train at 8am and a 60-year-old at home on a Sunday get pixel-identical layouts. For thirty years that was simply what a UI was. That assumption is dying. In 2026 the leading mobile apps treat the interface as a live surface that reshapes itself in real time -- reordering navigation, resizing touch targets, shifting color and density, surfacing the one action you're most likely to want next -- driven by on-device signals about who you are, where you are, and what you're doing right now. The static screen is becoming the exception, not the default. Here's what's actually driving it, what it takes to build, and what it looks like in code -- with Flutter examples throughout. From static layout to living surface The old personalization playbook was recommendation, not adaptation. Netflix reordered a content row; Spotify built you a playlist. The chrome around those recommendations -- the navigation, the layout, the visual system -- stayed frozen. Context-aware UX pushes personalization down into the interface itself. Concretely, an adaptive UI reacts to signals like these: Motion and activity -- accelerometer and gyroscope tell you the user is walking, driving, or still. A UI can enlarge touch targets and simplify layout when it detects movement, cutting mis-taps. Location and environment -- outdoors in bright light, boost contrast and switch to a high-legibility mode; on a known Wi-Fi network at home, load richer media. Time and calendar -- automatic dark mode at night, a leaving-for-a-meeting layout when the next calendar event is 15 minutes out. Usage history -- promote the three features this user actually touches, demote the ones they never open. A finance app foregrounds transfer for a power user and check balance for a casual one. Device and networ

## I've Been a Flutter GDE for 8 Years. Here's the Ground Truth on "Flutter is Dying"

DevFeed: [I've Been a Flutter GDE for 8 Years. Here's the Ground Truth on "Flutter is Dying"](<https://devfeed.tech/articles/i-ve-been-a-flutter-gde-for-8-years-here-s-the-ground-truth-on-flutter-is-dying-23052.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/ive-been-a-flutter-gde-for-8-years-here-s-the-ground-truth-on-flutter-is-dying-6ffc50ca4088?source=rss----86fb29d7cc6a---4>)

Author: Randal L. Schwartz

Published: 2026-08-19T16:02:19Z

Content type: opinion

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [blocsignal](<https://devfeed.tech/topics/blocsignal.md>)

Tags: [adoption](<https://devfeed.tech/tags/adoption.md>), [advocacy](<https://devfeed.tech/tags/advocacy.md>), [community-engagement](<https://devfeed.tech/tags/community-engagement.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [dart](<https://devfeed.tech/tags/dart.md>), [enterprise](<https://devfeed.tech/tags/enterprise.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [gde](<https://devfeed.tech/tags/gde.md>), [google](<https://devfeed.tech/tags/google.md>), [google-developer-expert](<https://devfeed.tech/tags/google-developer-expert.md>), [impeller](<https://devfeed.tech/tags/impeller.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [native](<https://devfeed.tech/tags/native.md>), [performance](<https://devfeed.tech/tags/performance.md>), [platform](<https://devfeed.tech/tags/platform.md>), [production](<https://devfeed.tech/tags/production.md>), [programming](<https://devfeed.tech/tags/programming.md>), [roadmaps](<https://devfeed.tech/tags/roadmaps.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [state-management](<https://devfeed.tech/tags/state-management.md>)

### AI overview

The author argues that Flutter is not dying, but maturing, and attributes pessimistic headlines partly to a gap between ongoing internal engineering work and slower public advocacy at Google. The article cites renewed DevRel, production milestones, and investment in Impeller, Dart 3.x, WebAssembly, and multiplatform performance. It suggests fewer Flutter job listings may reflect enterprises consolidating existing iOS and Android teams, while junior applicants face competition from experienced native developers. It describes state management as evolving from streams and code generation toward synchronous Signals and BlocSignal. The author also cites app-store presence and platform reach as signs of adoption, though the supplied text provides no independent measurements to verify those claims.

### Source excerpt

Every few months, like clockwork, the tech blogosphere gets flooded with the same recycled headline: "Is Flutter Dying?", "Why CTOs Are Quietly Leaving Flutter", or "Why Google is Killing Its Cross-Platform Bet." As someone who has been a Flutter Google Developer Expert for eight years now -- literally from day one of the GDE program -- and a five-decade software industry veteran, I usually just chuckle at the clickbait. "Flutter is dead." -- Said every six months since 2018. Meanwhile: Flutter is kicking tail on every single measurable scale. The alarmist articles point to standard corporate reorganizations, shifting tech job boards, and "state management fatigue" as evidence of Flutter's demise. But having watched this ecosystem evolve from an experimental alpha into an enterprise powerhouse, the reality on the ground is the exact opposite. Here is the real insider story on what's actually happening with Dart and Flutter. 1. The Inside Story: What Happened at Google? When tech companies restructured engineering teams recently, the internet spun a wild narrative that "Google put Flutter on life support." Having direct access to internal teams, I watched the commitment to Dart and Flutter remain steadfast within the organization. However, there was a temporary disconnect: internal engineering activity was roaring, but external communications and public advocacy had slowed down, leaving an information vacuum that clickbait writers eagerly filled. I personally called out to team leaders and senior VPs that this perception gap needed immediate correction. And the leadership responded strongly: Revitalized DevRel & Advocacy: A renewed surge in active community engagement, tutorials, and public roadmaps. Enterprise Adoption Transparency: Showcasing massive internal and external production milestones. Aggressive Core Investment: Deep work on the Impeller rendering engine, Dart 3.x ergonomics, WebAssembly (Wasm) compilation, and native multiplatform performance. Flutter is no

## Where I'm Writing Now: The Complete 14-Part BlocSignal Series on DEV.to

DevFeed: [Where I'm Writing Now: The Complete 14-Part BlocSignal Series on DEV.to](<https://devfeed.tech/articles/where-i-m-writing-now-the-complete-14-part-blocsignal-series-on-dev-to-23055.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/where-im-writing-now-the-complete-14-part-blocsignal-series-on-dev-to-2b27b47b00c8?source=rss----86fb29d7cc6a---4>)

Author: Randal L. Schwartz

Published: 2026-08-10T16:00:59Z

Content type: opinion

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Dart](<https://devfeed.tech/topics/dart.md>), [reactive](<https://devfeed.tech/topics/reactive.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [bloc](<https://devfeed.tech/tags/bloc.md>), [blocsignal](<https://devfeed.tech/tags/blocsignal.md>), [dart](<https://devfeed.tech/tags/dart.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [dev](<https://devfeed.tech/tags/dev.md>), [developer-community](<https://devfeed.tech/tags/developer-community.md>), [development](<https://devfeed.tech/tags/development.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [series](<https://devfeed.tech/tags/series.md>), [signal](<https://devfeed.tech/tags/signal.md>), [state-management](<https://devfeed.tech/tags/state-management.md>), [tracing](<https://devfeed.tech/tags/tracing.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

The author announces that DEV.to and the Google Developer Experts organization on DEV.to are now the primary publishing hubs for new technical writing. The article presents a 14-part BlocSignal series covering Dart and Flutter state management, architecture, interoperability, dependency injection, tracing, and web development.

### Source excerpt

If you've been following my articles here on Medium over the years, thank you! I wanted to share a quick update on where I'm primarily publishing my new technical deep dives, architectural guides, and Flutter/Dart tutorials. Going forward, my primary writing hub is DEV.to (@randalschwartz) and the official Google Developer Experts (GDE) organization on DEV.to. DEV.to provides a vibrant developer community, native Dart syntax highlighting, and a built-in Series feature that links connected articles into structured, multi-part curricula. 🚀 The New Series: BlocSignal Architecture & Practice Over the last month, my team and I launched BlocSignal -- a production-grade state management framework for Dart and Flutter that bridges BLoC's enterprise discipline with Signals' 0ms synchronous reactivity. We've published a comprehensive 14-part series on DEV.to covering everything from core state machine philosophy and Riverpod/Provider interop to dependency injection, OpenTelemetry tracing, and Jaspr web development. Here is the complete roadmap of all 14 articles available to read right now on DEV.to: 🏛 1. Core Architecture & Philosophy Introducing BlocSignal: Unidirectional Data Flow Meets Reactive Signals The origin story: bridging BLoC semantics with Rody Davis's signals v7 primitives for 0ms microtask queue latency. BLoC meets Signals: How to Pitch BlocSignal to Your Dev Leads How to navigate technical team reviews and explain the enterprise value of synchronous signal graphs. How We Achieved Full BLoC API & Protocol Parity in BlocSignal 0.2.0 A deep dive into BlocProvider, BlocBuilder, BlocListener, BlocConsumer, and context.select parity. Beyond ProviderNotFound: How BlocSignal Rethinks State Location and Synchronous Propagation Solving scope lookups and understanding why synchronous signal updates prevent frame tearing. From Raw Signals to BlocSignal: Taming Reactivity for Enterprise Scale How encapsulating signals inside Cubit/Bloc containers stops global signal "spagh

## GenUI Beyond Chat: Designing a Grammar Book with Flutter GenUI -- Part 1

DevFeed: [GenUI Beyond Chat: Designing a Grammar Book with Flutter GenUI -- Part 1](<https://devfeed.tech/articles/genui-beyond-chat-designing-a-grammar-book-with-flutter-genui-part-1-23051.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/genui-beyond-chat-building-a-grammar-book-with-flutter-and-caching-the-a2ui-output-with-firebase-ecab7b093ccc?source=rss----86fb29d7cc6a---4>)

Author: Cagatay Ulusoy

Published: 2026-08-03T15:15:45Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Flutter](<https://devfeed.tech/topics/flutter.md>), [a2ui](<https://devfeed.tech/topics/a2ui.md>), [Internationalization (i18n)](<https://devfeed.tech/topics/i18n.md>), [Localization (l10n)](<https://devfeed.tech/topics/localization.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [a2ui](<https://devfeed.tech/tags/a2ui.md>), [ai](<https://devfeed.tech/tags/ai.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [generative-ui](<https://devfeed.tech/tags/generative-ui.md>), [genuis](<https://devfeed.tech/tags/genuis.md>), [grammar](<https://devfeed.tech/tags/grammar.md>), [language-learning](<https://devfeed.tech/tags/language-learning.md>), [personalization](<https://devfeed.tech/tags/personalization.md>)

### AI overview

The article describes a Finnish grammar course built with Flutter GenUI, where learners browse localized curricula and move through interactive pages instead of receiving a long chat response. It separates lesson design into three parts: a curriculum and lesson briefs define what to teach, a system prompt defines how to teach it, and a catalog of registered Flutter components constrains how lessons can appear. Lessons follow Concept -> Mechanism -> Use -> Application, with components for recognition, production, and recall. The model composes A2UI messages from catalog items; Flutter owns rendering, responsiveness, theme, accessibility, and interaction behavior. The author says a roughly 40-component catalog balances pedagogical variety against repeated input-token cost, favoring distinct component roles and letting Flutter handle presentation choices such as table versus cards. Localized curriculum labels are generated from canonical English while preserving Finnish examples and stable lesson IDs. Part 1 covers the design boundaries; lesson batching and Firestore caching are deferred to Part 2.

### Source excerpt

Last year on #FlutterFlightPlans live stream, I asked the Flutter team a question that has stayed with me: Are there any use cases for Generative UI other than chat responses? Can you share some inspiration? Seth Ladd answered, "Let's see what is beyond chat together." 🚀 Since that moment, exploring GenUI beyond chat has been my primary focus. https://medium.com/media/7c53d065806a0337fcf3a8db1412ec82/href I shared my first journey with GenUI in an article series: a small GenUI framework built with Gemini structured outputs, and a migration to Flutter GenUI SDK and A2UI surfaces. Then I tried a different kind of use case: a Finnish 🇫🇮 grammar course inside my Finnish it language-learning app. In this feature, the learner browses a curriculum in their own language, opens one small grammar topic, and moves through a sequence of Flutter pages. https://medium.com/media/3ac419e10db257e4f9652bdfb9ad5165/hrefProblem Definition I had four constraints: I do not speak Finnish, and I am not a language teacher. I don't have time to manually plan and structure a grammar book's worth of micro-lessons in every language. I want interactive application UI, not a long Markdown response. Hyper-personalization is crucial. The explanation should begin from the learner's language. A Turkish learner can approach Finnish vowel harmony through Turkish vowel harmony; an English learner needs another bridge since it has no similar concept. Vowel harmony lessons in English and TurkishThe same rule does not feel equally foreign That fourth constraint is more than UI localization. Turkish speakers will find two familiar concepts in Finnish grammar: attaching grammatical markers directly to the ends of nouns, and changing suffix vowels to match the root word. For example, expressing "in" or "at" requires the exact same mental process in both languages: Turkish: ev + -de = evde (in the house) Finnish: talo + -ssa = talossa (in the house) An English speaker has a completely different starting point.

## Make scalable routing system for your Flutter Apps

DevFeed: [Make scalable routing system for your Flutter Apps](<https://devfeed.tech/articles/make-scalable-routing-system-for-your-flutter-apps-23053.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/make-scalable-routing-system-for-your-flutter-apps-73510bf3d602?source=rss----86fb29d7cc6a---4>)

Author: Kanan Yusubov

Published: 2026-07-29T15:25:43Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Legacy Modernization](<https://devfeed.tech/topics/legacy-modernization.md>), [routing-system](<https://devfeed.tech/topics/routing-system.md>)

Tags: [apps](<https://devfeed.tech/tags/apps.md>), [clean-architecture](<https://devfeed.tech/tags/clean-architecture.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [go-router](<https://devfeed.tech/tags/go-router.md>), [modular-router](<https://devfeed.tech/tags/modular-router.md>), [modularization](<https://devfeed.tech/tags/modularization.md>), [modules](<https://devfeed.tech/tags/modules.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [route](<https://devfeed.tech/tags/route.md>), [router](<https://devfeed.tech/tags/router.md>), [routing](<https://devfeed.tech/tags/routing.md>), [routing-system](<https://devfeed.tech/tags/routing-system.md>), [type-safety](<https://devfeed.tech/tags/type-safety.md>)

### AI overview

The excerpt describes replacing auto_route with a modular routing wrapper built on go_router after tight coupling and code generation became scaling bottlenecks. Its architecture separates app-specific typed route definitions from a domain-agnostic core router; independent feature modules expose routes through shared contracts, while a shell composes them without direct dependencies. Listed capabilities include typed route arguments, native and path parameters, nested routes and cross-module navigation, presentation modes, and guard interceptors with typed redirects. The excerpt outlines the design but does not provide detailed implementation code.

### Source excerpt

Recently, I've been working on migrating our app's routing system. We previously used auto_route, but eventually realized its tightly coupled nature made it incredibly difficult to scale across independent modules. Furthermore, its heavy reliance on code generation became a bottleneck for our workflow. To resolve this, we decided to architect a clean, scalable, and highly decoupled routing system. Our new solution is a powerful wrapper built on top of go_router. It abstracts away the raw string navigation and supercharges the router with custom features to maximize usability and type safety. In this blog post, I will walk you through the core benefits of this new routing system, covering the following key topics: Unified Routing Protocol (AppRouteInfo) Strictly Typed Route Arguments Native & Path Parameters Support Cross-Module Modularization (AppModuleRouter) Hierarchical Back stack & Sub-Routes (Nested Route Definitions, Decoupled Cross-Module Navigation) Dynamic Presentation Modes (e.g., Native, ModalSheet, NoTransition) Guard Interceptor Mechanism (Type-Safe Redirects, Global Interceptors) Note: This blog will show the general usage and problems it solved. For more detailed code, you can check the following link: https://github.com/thisisyusub/scalable-routing-system-demoArchitectural Structure of Routing System Here is how the demo application is structured to achieve a fully decoupled, scalable routing system: scalable_routing_system_demo (main app): The entry point of the application responsible for wiring up all services, dependency injection, and global route configurations. app_routes: Houses all route definitions, parameters, routing protocols, and models to ensure fully type-safe navigation. This is decoupled from the core routing package to separate app-specific business needs from generic routing mechanics. routing_system (core router): A generic, domain-agnostic router package that has zero knowledge of the app's specific routes. It exclusively provid

## Everything You Need to Know About Patrol in 2026

DevFeed: [Everything You Need to Know About Patrol in 2026](<https://devfeed.tech/articles/everything-you-need-to-know-about-patrol-in-2026-23049.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/everything-you-need-to-know-about-patrol-in-2026-097c09ce8a7e?source=rss----86fb29d7cc6a---4>)

Author: LeanCode

Published: 2026-07-24T02:52:52Z

Content type: article

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [mobile devops](<https://devfeed.tech/topics/mobile-devops.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [UiAutomator](<https://devfeed.tech/topics/uiautomator.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-powered](<https://devfeed.tech/tags/ai-powered.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [automation](<https://devfeed.tech/tags/automation.md>), [automation-testing](<https://devfeed.tech/tags/automation-testing.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [e2e](<https://devfeed.tech/tags/e2e.md>), [e2e-testing](<https://devfeed.tech/tags/e2e-testing.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [flutter-app-development](<https://devfeed.tech/tags/flutter-app-development.md>), [framework](<https://devfeed.tech/tags/framework.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [ios](<https://devfeed.tech/tags/ios.md>), [junit](<https://devfeed.tech/tags/junit.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [native](<https://devfeed.tech/tags/native.md>), [notifications](<https://devfeed.tech/tags/notifications.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [package](<https://devfeed.tech/tags/package.md>), [permission](<https://devfeed.tech/tags/permission.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>)

### AI overview

Patrol combines Flutter widget testing with native UI automation so a single end-to-end test can cover Flutter screens and elements outside the Flutter runtime, such as permission prompts, notifications, and other native UI. Its Dart tests run with Flutter testing APIs alongside native runners--XCUITest on iOS and UIAutomator on Android--which communicate over localhost. The excerpt describes Patrol 4.0 support for Android, iOS, and Web, plus a VS Code extension for running and debugging tests and Patrol MCP tools for AI-assisted test execution and inspection. Native test infrastructure enables compatibility with device farms and JUnit reporting; test bundling, sharding, parallel execution, artifact collection, and duration reporting support larger runs. The excerpt also presents Patrol Finders as a more concise alternative to Flutter's built-in finders, with waits for dynamic UI. It does not provide a full feature-by-feature account of Web support or the listed integrations.

### Source excerpt

Author: Katarzyna Szulc from LeanCode Patrol has come a long way from being "just another Flutter testing tool." Today, it powers end-to-end testing across Android, iOS, and Web, integrates with native testing infrastructure, runs on cloud device farms, offers AI-powered testing capabilities, and continues to push the boundaries of what's possible in the Flutter ecosystem. No matter if you've been following Patrol for a while or you're simply looking for the best way to handle Flutter E2E testing, this article is the perfect place to catch up. What exactly is Patrol? Let's break it down Developed by LeanCode, Patrol is a powerful, open-source, multiplatform E2E UI testing framework for Flutter apps that overcomes the limitations of integration_test by handling native interactions. Let's dig deeper into that. Flutter's greatest strength also creates one of its biggest testing challenges. Unlike native apps, Flutter renders its entire UI using its own graphics engine instead of platform-native components. This enables a consistent, pixel-perfect experience across devices, but it also means that native UI automation tools often see a Flutter app as little more than a single canvas. They simply cannot interact with Flutter widgets. The official solution is the integration_test package, which gives tests direct access to the Flutter widget tree. As long as everything happens inside Flutter, it works well. But real apps rarely stay there. System permission dialogs, biometric prompts, notifications, WebViews, and other native UI all exist outside the Flutter runtime, making them inaccessible to integration_test. Patrol bridges this gap. It lets tests interact with both Flutter widgets and native UI elements in a single test. Because Patrol builds on native frameworks such as JUnit and XCTest, it also integrates seamlessly with existing CI pipelines, device farms, and the broader mobile testing ecosystem. If you are new to automating E2E testing in Flutter, you can start by

## Building a Testable Network Layer and Three-Tier State Management in Flutter

DevFeed: [Building a Testable Network Layer and Three-Tier State Management in Flutter](<https://devfeed.tech/articles/building-a-testable-network-layer-and-three-tier-state-management-in-flutter-23048.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/building-a-testable-network-layer-and-three-tier-state-management-in-flutter-bebdd831cf25?source=rss----86fb29d7cc6a---4>)

Author: Veli Bacık

Published: 2026-07-08T15:56:52Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [state-management](<https://devfeed.tech/topics/state-management.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>)

Tags: [dart](<https://devfeed.tech/tags/dart.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [layer](<https://devfeed.tech/tags/layer.md>), [masterclass](<https://devfeed.tech/tags/masterclass.md>), [network](<https://devfeed.tech/tags/network.md>), [refactoring](<https://devfeed.tech/tags/refactoring.md>), [state](<https://devfeed.tech/tags/state.md>), [state-management](<https://devfeed.tech/tags/state-management.md>)

### AI overview

The excerpt presents a Flutter architecture that centralizes HTTP behind an injectable network manager and service interfaces, then assigns state to three scopes. The manager configures base URL, timeouts, headers, and a typed error model once; generic requests return sealed success/error results handled with `fold`. Services accept an injected manager for tests, while production can use the singleton. Generated `INetworkModel` response models use `json_serializable` and `Equatable`. State is split among a global Cubit, page Cubits with immutable state, and widget-local `ValueNotifier`s. `BlocSelector` limits rebuilds to selected fields, and `BlocListener` handles navigation as a side effect. The excerpt notes that the three-tier approach is not tied to Bloc, though the example uses `flutter_bloc`; its service test points at localhost, so it demonstrates an integration test setup rather than an offline fake-network test.

### Source excerpt

How to wrap HTTP behind a generic, testable network manager with sealed results -- then drive your screens with a three-tier state model: global Cubit, page Cubit, and widget-local ValueNotifier. Flutter Refactoring Masterclass -- Part 3 GitHub - VB10/flight_booking: Flight App for refactoring real project PRs: #11, #12 📺 Video Series: Network & Service Layer https://medium.com/media/2d40d555e4d8968f1d15fb35e2e91553/hrefhttps://medium.com/media/3d8a8a32a77c98177ba10492a892aed6/href 🤖 Want to apply these changes to your project? See the AI prompt at the end. The Problem In Part 2 we split the login page into View, ViewModel, and Mixin -- but the ViewModel still new'd up a Dio() instance and hard-coded http://localhost:8080 inline. Every screen that talked to the backend did the same thing: create a fresh Dio, paste the base URL, decode JSON by hand, and copy-paste the same if (statusCode == 200) ... else ... catch (e) ladder. That pattern rots fast. A URL change means a project-wide search. A new header (auth token, API version) has to be added everywhere. Error handling drifts -- one screen returns 'Server hatası', another swallows the exception. And nothing is testable, because the network call is welded to the widget. As the video puts it: the person writing the code shouldn't be able to say "this only works with internet" -- the network is a dependency, and dependencies must be managed. There's a second rot: state. setState rebuilds the whole widget on every field change. A page with a loading flag, an error string, and a list re-renders all three even when only one changed. And there's no consistent home for "where does the loading state live" -- sometimes a ValueNotifier, sometimes a bool, sometimes buried in _PageState. This article fixes both on the same module. PR #11 builds a generic network + service + model layer. PR #12 layers a three-tier state model on top -- Cubit for business, BlocSelector for surgical rebuilds, ValueNotifier for widget-local UI. What We Change

## From Structured Outputs to A2UI Surfaces: Migrating to Flutter GenUI SDK

DevFeed: [From Structured Outputs to A2UI Surfaces: Migrating to Flutter GenUI SDK](<https://devfeed.tech/articles/from-structured-outputs-to-a2ui-surfaces-migrating-to-flutter-genui-sdk-23050.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/from-structured-outputs-to-a2ui-surfaces-migrating-to-flutter-genui-sdk-4f09aeacee80?source=rss----86fb29d7cc6a---4>)

Author: Cagatay Ulusoy

Published: 2026-07-08T15:52:59Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [Finite-state machine](<https://devfeed.tech/topics/finite-state-machine.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [a2ui](<https://devfeed.tech/tags/a2ui.md>), [ai](<https://devfeed.tech/tags/ai.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [generative-ui](<https://devfeed.tech/tags/generative-ui.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [json](<https://devfeed.tech/tags/json.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

A tutorial on migrating a hand-built generative UI feature based on Gemini structured outputs to the official Flutter GenUI SDK. It describes a Finnish language-learning app that generates images on demand and uses a five-step wizard to improve image variety.

### Source excerpt

Part 3 of a series "Building Image Assisted Language Learning Practice with Flutter, Firebase and Gemini." Part 1 built the image generation and annotation pipeline. Part 2 built a generative UI framework by hand, using Gemini structured outputs. This part is the migration: same feature, official Flutter GenUI SDK. A year ago, Finnish It was just a side project. This spring, I watched it at the Google Cloud Next developer keynote, and again in the Flutter keynote at Google I/O. It still feels surreal to type that. I am grateful to the Flutter and Firebase teams for the collaboration. This series is my way of giving back. I hope it makes Flutter GenUI SDK click for you the way building this feature made it click for me. Finnish it app featured in Cloud Next and Google IOQuick Recap One of the app's practice exercises is simple: show the learner an image, and they describe it in 🇫🇮 Finnish. The images are generated on demand, not fetched from a fixed image database. In Part 2 the problem was variety. A broad topic like "a native Finnish animal in its habitat" kept producing the same handful of scenes. Turning up temperature did not fix it, because it was never really a sampling problem. An under-specified prompt has a few big probability peaks, and the sampler just jitters around them. The fix was to stop asking the model to "be random" and move the entropy into the UI: a five-step wizard where the user picks the season, the setting, the story, the framing, and the visible details. Gemini designs the questions; the user provides the variety. That worked. The repetition problem was solved. The machine I built by hand To make it work, I built a small finite state machine (FSM) which walked the user through five steps. Each step asked Gemini for question set, constrained by a response schema, and parsed the JSON into a typed object that a widget could render: final response = await model.generateContent( [Content.text(_buildRefinementStateRequest(state, topic, selections

## Build your own Flutter GenUI solution with Gemini structured outputs

DevFeed: [Build your own Flutter GenUI solution with Gemini structured outputs](<https://devfeed.tech/articles/build-your-own-flutter-genui-solution-with-gemini-structured-outputs-23047.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/build-your-own-flutter-genui-framework-with-gemini-structured-outputs-a6db3653b9b6?source=rss----86fb29d7cc6a---4>)

Author: Cagatay Ulusoy

Published: 2026-06-09T12:28:28Z

Content type: tutorial

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Flutter](<https://devfeed.tech/topics/flutter.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Image](<https://devfeed.tech/topics/image.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [ai-image-generator](<https://devfeed.tech/tags/ai-image-generator.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firebase-ai-logic](<https://devfeed.tech/tags/firebase-ai-logic.md>), [flow](<https://devfeed.tech/tags/flow.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [generative-ui](<https://devfeed.tech/tags/generative-ui.md>), [image-generation](<https://devfeed.tech/tags/image-generation.md>), [language-learning](<https://devfeed.tech/tags/language-learning.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [schemas](<https://devfeed.tech/tags/schemas.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [series](<https://devfeed.tech/tags/series.md>), [structured](<https://devfeed.tech/tags/structured.md>), [ui-controls](<https://devfeed.tech/tags/ui-controls.md>)

### AI overview

To reduce repetitive image scenes, the author adds a five-step Flutter refinement flow before image generation. Gemini's lightweight structured-output call plans one topic-aware choice at a time--such as season, setting, action, framing, mood, or visual details--while Flutter renders ordinary controls and stores selections as structured data. Schemas define the UI contract; a finite-state machine, parser, and typed response objects connect each step, and a separate generation call turns the completed choices into learning content and an image prompt. This makes variation come from explicit scene choices rather than relying on sampling settings alone, while keeping UI behavior in Flutter. The hand-built approach requires wiring schemas, parsers, state transitions, selection storage, and widgets for each flow; the author presents that maintenance burden as motivation for a later migration to the official Flutter GenUI SDK.

### Source excerpt

Part 2 of a series "Building Image Assisted Language Learning Practice with Flutter, Firebase and Gemini." Part 1 built the image generation and annotation pipeline. This part buids a generative UI framework by hand, using Gemini structured outputs. Part 3 is the migration: same feature, official Flutter GenUI SDK. In Part 1, I built the first image description practice pipeline for my Flutter app. A user chooses a topic, Firebase and Gemini generate a practice image for the selected topic, and Gemini 3 adds visual annotations on top of the image. That pipeline worked. But after generating enough practices, a different problem became clear. The system could produce valid images, but the variation was limited. For some topics, Gemini kept returning to the same kind of scene, even when the prompt asked for ramdomness explicitly. This post starts one step before image generation. Instead of making the final prompt longer and hoping for more variety, I changed the input flow: what if the user could shape the scene through a guided UI before the image was generated? That led to a five step refinement flow. For each step, Gemini generates topic aware options, such as season, setting, action, framing, mood, and visual details. Flutter renders those options as normal UI controls. The user chooses what they want, and the app stores those choices as structured data before turning them into a more specific image prompt. I did not begin by trying to build a GenUI framework. I was just trying to stop my image generator from repeating itself. But by the end, the system had schemas, widget catalogs, state transitions, and LLM planned screens. So let's start with the original problem. Selected topic: Shopping and errands in Finnish everyday life1. A quick recap My app helps people practice 🇫🇮 Finnish. One of the core exercises is showing the learners a picture and ask them to describe it out loud, then give feedback. The user experience is simple. The content problem behind it is n

## Why I Think On-Device AI Changes Mobile Architecture

DevFeed: [Why I Think On-Device AI Changes Mobile Architecture](<https://devfeed.tech/articles/why-i-think-on-device-ai-changes-mobile-architecture-23056.md>)

Original publisher: [Read original article](<https://medium.com/flutter-community/why-i-think-on-device-ai-changes-mobile-architecture-3cc6b09afd83?source=rss----86fb29d7cc6a---4>)

Author: Akansha Jain

Published: 2026-06-03T17:56:53Z

Content type: opinion

Language: en

Sources: [Flutter Community](<https://devfeed.tech/sources/flutter-community-medium.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Flutter](<https://devfeed.tech/topics/flutter.md>), [Android](<https://devfeed.tech/topics/android.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [dart](<https://devfeed.tech/tags/dart.md>), [data](<https://devfeed.tech/tags/data.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>)

### AI overview

This opinion article argues that on-device AI changes mobile application architecture by reducing dependence on network APIs. It discusses connectivity, per-call costs, and user-data concerns, drawing on a Flutter camera-demo crash involving a model already loaded on an Android phone.

### Source excerpt

What a crashed app taught me about on-device AI -- and why I think you should care. I was building the demo I'd been planning for weeks. Flutter app running. Model loaded. Chat screen looking clean. I opened the camera -- the feature I was most excited about -- pointed it at something on my desk, and the app just crashed. Not a Dart exception. Not a red error screen. The whole thing just died. I stared at my Redmi Note 7 Pro for a second, opened it again, tried once more. Same result. Every single time I launched the camera with the model already loaded, Android killed my app. It took me longer than I'd like to admit to understand why. And when I finally did, I realised I'd been thinking about AI in mobile apps in a way that was quietly wrong for a long time. Before that, let me back up. For the past couple of years, whenever I wanted to add an AI feature to an app, the answer was pretty obvious: use an API. Need a chatbot? API. Need to analyze an image? API. Need text summarisation? API. A few lines of Dart, a request goes out, and something surprisingly intelligent comes back. It worked well enough that I stopped questioning the architecture behind it. Every one of those API calls travels over the network, gets processed on hardware you don't own, and comes back. Which means three things are always true, and always have been: The feature needs internet. Which is fine until you're in a metro tunnel, on a flight, or somewhere with patchy coverage. Your app just stops being smart. Users notice -- and they don't file bug reports, they just leave. You pay for every call. At low volume it's fine. At scale, it genuinely isn't. 10,000 users x 50 queries a day x per-token pricing. At low volume you barely notice it. At scale, those costs become a product decision. User data leaves the device. The health app where someone is logging symptoms. The finance app where they're describing their expenses. The journal app where they're writing things they wouldn't say out loud. For tho