Construct chat row contents only when slivers mount them
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user