# 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