Construct chat row contents only when slivers mount them

This commit is contained in:
2026-11-08 00:11:13 +00:00
parent 1af69c1bca
commit 78bb5dcd9b
3 changed files with 66 additions and 12 deletions
@@ -232,7 +232,7 @@ void main() {
});
testWidgets(
'Cupertino narrow header displays the current permission value',
'Cupertino narrow header exposes the current permission on its icon',
(tester) async {
if (!cupertino) return;
final semantics = tester.ensureSemantics();
@@ -254,7 +254,7 @@ void main() {
expect(mode, findsOneWidget);
expect(
find.descendant(of: mode, matching: find.text('Ask for permission')),
findsOneWidget,
findsNothing,
);
expect(
tester.getSemantics(mode).label,