Polish adaptive app chrome

This commit is contained in:
2026-10-31 06:02:02 +00:00
parent 06f6eda360
commit 480f8843eb
14 changed files with 228 additions and 53 deletions
@@ -82,6 +82,16 @@ void main() {
expect(_text('error'), findsOneWidget);
});
testWidgets('the rendered/raw control remains compact', (tester) async {
tester.view.physicalSize = const Size(800, 700);
tester.view.devicePixelRatio = 1;
addTearDown(tester.view.reset);
await tester.pumpWidget(_material(_view()));
final control = find.byKey(const Key('markdown-source-mode'));
expect(tester.getRect(control).width, lessThan(221));
});
testWidgets('the raw section keeps unknown fields exact and selectable', (
tester,
) async {