Adds test/ui/small_screen_overflow_test.dart: pumps the full screens at a 320x568 (iPhone-SE-class) viewport in the longest-text locales (es/pt/ast); a RenderFlex overflow fails the test, so a clipped title or save button is caught. It found — and this fixes — a real bug: the Home menu (a fixed, non-scrolling Center>Column) clipped ~80px on small phones in every locale. Home is now wrapped in LayoutBuilder + SingleChildScrollView + ConstrainedBox(minHeight: maxHeight): centered when it fits, scrolls when it doesn't, never clipped. Also makes the test harness faithful: wrapScreen/wrapDetail now map the locale through materialLocaleFor (ast->es) exactly like the app, so Asturian screens don't throw on MaterialLocalizations (AppBar tooltips) — that had masqueraded as an overflow. Scope notes in the test: full screens only (modal bottom sheets get an unbounded height in widget tests -> false huge overflow; they already scroll their body), and the variety-detail screen is skipped (its ~2px hit is on a DISPOSED/DEFUNCT RenderFlex — a transient during the cubit rebuild, not the stable layout). |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| drift_schemas | ||
| fastlane/metadata/android | ||
| fonts | ||
| integration_test | ||
| ios | ||
| lib | ||
| linux | ||
| test | ||
| tool | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| analysis_options.yaml | ||
| build.yaml | ||
| dart_test.yaml | ||
| pubspec.yaml | ||
| README.md | ||
| slang.yaml | ||
tane
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.