Skip to content

Commit

Permalink
Fix feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
NRijnberg committed Sep 6, 2024
1 parent b5fae03 commit 86160c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/golden_test_scenario.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,16 @@ class GoldenTestScenario extends StatelessWidget {
children: [
Text(
name,
style: nameTextStyle ?? const TextStyle(fontSize: 18),
style: const TextStyle(fontSize: 18).merge(nameTextStyle),
textHeightBehavior: const TextHeightBehavior(
applyHeightToFirstAscent: false,
),
),
const SizedBox(height: 8),
ConstrainedBox(
constraints: constraints ?? GoldenTestScenarioConstraints.maybeOf(context) ?? const BoxConstraints(),
constraints: constraints ??
GoldenTestScenarioConstraints.maybeOf(context) ??
const BoxConstraints(),
child: Builder(
builder: builder,
),
Expand Down

0 comments on commit 86160c6

Please sign in to comment.