From ec47148036008f6fab98956edbd6006c07377fb9 Mon Sep 17 00:00:00 2001 From: LongCatIsLooong <31859944+LongCatIsLooong@users.noreply.github.com> Date: Fri, 15 Sep 2023 12:53:24 -0700 Subject: [PATCH] [Windows_android channels_integration_test] Column -> ListView (#134836) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should fix https://github.com/flutter/flutter/issues/134636. The column can get really tall, especially when there's line wrapping. This is the layout on a tablet, so on a motor g4 this column is likely going to overflow. ``` RenderParagraph#66251 relayoutBoundary=up3 │ creator: RichText ← Text-[<'status'>] ← Column ← │ FutureBuilder ← Padding ← │ KeyedSubtree-[GlobalKey#0f29e] ← _BodyBuilder ← MediaQuery ← │ LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← │ _ActionsScope ← Actions ← ⋯ | parentData: offset=Offset(0.0, 600.0); flex=null; fit=null ``` ![flutter_01](https://github.com/flutter/flutter/assets/31859944/5e700d21-3c5e-4990-bfb5-153f44f1c517) --- dev/integration_tests/channels/lib/src/test_step.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/integration_tests/channels/lib/src/test_step.dart b/dev/integration_tests/channels/lib/src/test_step.dart index 7c34e9622e..443db5a6fa 100644 --- a/dev/integration_tests/channels/lib/src/test_step.dart +++ b/dev/integration_tests/channels/lib/src/test_step.dart @@ -69,8 +69,7 @@ class TestStepResult { ); Widget asWidget(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, + return ListView( children: [ Text('Step: $name', style: bold), Text(description),