From 311b57be42974c717476e8ceb26fecd856494963 Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 25 Oct 2017 17:52:18 -0700 Subject: [PATCH] Revert "Revert "nav bar font styles are special, do not inherit (#12578)"" (#12679) * Revert "roll engine (#12660)" This reverts commit 048bc5e0f6fe96d07bc7777792e31f96f855d5da. * Revert "FittedBox RTL (#12662)" This reverts commit 05a22fe0ab2e74635db6628a7fc125e1a1f20203. * Revert "Revert "nav bar font styles are special, do not inherit (#12578)" (#12661)" This reverts commit 662b66848562df022dcf95134b61e9958a5a74f4. --- packages/flutter/lib/src/cupertino/nav_bar.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/cupertino/nav_bar.dart b/packages/flutter/lib/src/cupertino/nav_bar.dart index 779f45c3c4..50935fed1e 100644 --- a/packages/flutter/lib/src/cupertino/nav_bar.dart +++ b/packages/flutter/lib/src/cupertino/nav_bar.dart @@ -330,19 +330,19 @@ class _CupertinoPersistentNavigationBar extends StatelessWidget implements Prefe color: actionsForegroundColor, ); - final Widget styledLeading = leading == null ? null : DefaultTextStyle.merge( + final Widget styledLeading = leading == null ? null : new DefaultTextStyle( style: actionsStyle, child: leading, ); - final Widget styledTrailing = trailing == null ? null : DefaultTextStyle.merge( + final Widget styledTrailing = trailing == null ? null : new DefaultTextStyle( style: actionsStyle, child: trailing, ); // Let the middle be black rather than `actionsForegroundColor` in case // it's a plain text title. - final Widget styledMiddle = middle == null ? null : DefaultTextStyle.merge( + final Widget styledMiddle = middle == null ? null : new DefaultTextStyle( style: actionsStyle.copyWith( fontWeight: FontWeight.w600, letterSpacing: -0.72,