From a32810bc54379c044d7e77b2a498a24cf622a036 Mon Sep 17 00:00:00 2001 From: Sean D'Souza <38793207+seendsouza@users.noreply.github.com> Date: Tue, 12 Mar 2019 19:17:12 -0400 Subject: [PATCH] Docs edit for Tab Label Color (#29165) --- packages/flutter/lib/src/material/tabs.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/flutter/lib/src/material/tabs.dart b/packages/flutter/lib/src/material/tabs.dart index e5fec0435b..8beaa1bb26 100644 --- a/packages/flutter/lib/src/material/tabs.dart +++ b/packages/flutter/lib/src/material/tabs.dart @@ -655,8 +655,8 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { /// Unselected tab labels are rendered with the same color rendered at 70% /// opacity unless [unselectedLabelColor] is non-null. /// - /// If this parameter is null then the color of the theme's body2 text color - /// is used. + /// If this parameter is null then the color of the [ThemeData.primaryTextTheme]'s + /// body2 text color is used. final Color labelColor; /// The color of unselected tab labels. @@ -669,8 +669,8 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { /// null then this text style will be used for both selected and unselected /// label styles. /// - /// If this property is null then the text style of the theme's body2 - /// definition is used. + /// If this property is null then the text style of the [ThemeData.primaryTextTheme]'s + /// body2 definition is used. final TextStyle labelStyle; /// The padding added to each of the tab labels. @@ -681,7 +681,8 @@ class TabBar extends StatefulWidget implements PreferredSizeWidget { /// The text style of the unselected tab labels /// /// If this property is null then the [labelStyle] value is used. If [labelStyle] - /// is null then the text style of the theme's body2 definition is used. + /// is null then the text style of the [ThemeData.primaryTextTheme]'s + /// body2 definition is used. final TextStyle unselectedLabelStyle; /// {@macro flutter.widgets.scrollable.dragStartBehavior}