Skip to content

Commit

Permalink
add back childKey
Browse files Browse the repository at this point in the history
  • Loading branch information
btrautmann committed Sep 17, 2024
1 parent 363f8d6 commit 88283e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/golden_test_adapter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,10 @@ class FlutterGoldenTestAdapter extends GoldenTestAdapter {
minHeight: constraints.minHeight,
maxWidth: constraints.maxWidth,
maxHeight: constraints.maxHeight,
child: Center(child: widget),
child: Center(
key: childKey,
child: widget,
),
),
);
},
Expand Down

0 comments on commit 88283e1

Please sign in to comment.