From a27fcf1a89a19390d65d220b33cab377402bdaba Mon Sep 17 00:00:00 2001 From: Joshua Tang Date: Fri, 3 Jun 2022 15:45:26 +1000 Subject: [PATCH] Update app bar theme property docs (#102501) --- .../lib/src/material/app_bar_theme.dart | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/packages/flutter/lib/src/material/app_bar_theme.dart b/packages/flutter/lib/src/material/app_bar_theme.dart index a7e81a1344..6f76df9185 100644 --- a/packages/flutter/lib/src/material/app_bar_theme.dart +++ b/packages/flutter/lib/src/material/app_bar_theme.dart @@ -106,16 +106,16 @@ class AppBarTheme with Diagnosticable { /// /// See also: /// - /// * [foregroundColor], which overrides the default value for - /// [AppBar.foregroundColor] in all descendant widgets. + /// * [foregroundColor], which overrides the default value of + /// [AppBar.foregroundColor] in all descendant [AppBar] widgets. final Color? backgroundColor; /// Overrides the default value of [AppBar.foregroundColor] in all - /// descendant widgets. + /// descendant [AppBar] widgets. /// /// See also: /// - /// * [backgroundColor], which overrides the default value for + /// * [backgroundColor], which overrides the default value of /// [AppBar.backgroundColor] in all descendant [AppBar] widgets. final Color? foregroundColor; @@ -127,16 +127,16 @@ class AppBarTheme with Diagnosticable { /// descendant [AppBar] widgets. final double? scrolledUnderElevation; - /// Overrides the default value for [AppBar.shadowColor] in all - /// descendant widgets. + /// Overrides the default value of [AppBar.shadowColor] in all + /// descendant [AppBar] widgets. final Color? shadowColor; - /// Overrides the default value for [AppBar.surfaceTintColor] in all - /// descendant widgets. + /// Overrides the default value of [AppBar.surfaceTintColor] in all + /// descendant [AppBar] widgets. final Color? surfaceTintColor; - /// Overrides the default value for [AppBar.shape] in all - /// descendant widgets. + /// Overrides the default value of [AppBar.shape] in all + /// descendant [AppBar] widgets. final ShapeBorder? shape; /// Overrides the default value of [AppBar.iconTheme] in all @@ -144,21 +144,21 @@ class AppBarTheme with Diagnosticable { /// /// See also: /// - /// * [actionsIconTheme], which overrides the default value for + /// * [actionsIconTheme], which overrides the default value of /// [AppBar.actionsIconTheme] in all descendant [AppBar] widgets. /// * [foregroundColor], which overrides the default value - /// [AppBar.foregroundColor] in all descendant widgets. + /// [AppBar.foregroundColor] in all descendant [AppBar] widgets. final IconThemeData? iconTheme; /// Overrides the default value of [AppBar.actionsIconTheme] in all - /// descendant widgets. + /// descendant [AppBar] widgets. /// /// See also: /// - /// * [iconTheme], which overrides the default value for - /// [AppBar.iconTheme] in all descendant widgets. + /// * [iconTheme], which overrides the default value of + /// [AppBar.iconTheme] in all descendant [AppBar] widgets. /// * [foregroundColor], which overrides the default value - /// [AppBar.foregroundColor] in all descendant widgets. + /// [AppBar.foregroundColor] in all descendant [AppBar] widgets. final IconThemeData? actionsIconTheme; /// This property is deprecated, please use [toolbarTextStyle] and @@ -169,9 +169,9 @@ class AppBarTheme with Diagnosticable { /// /// See also: /// - /// * [toolbarTextStyle], which overrides the default value for + /// * [toolbarTextStyle], which overrides the default value of /// [AppBar.toolbarTextStyle in all descendant [AppBar] widgets. - /// * [titleTextStyle], which overrides the default value for + /// * [titleTextStyle], which overrides the default value of /// [AppBar.titleTextStyle in all descendant [AppBar] widgets. @Deprecated( 'This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. ' @@ -179,17 +179,17 @@ class AppBarTheme with Diagnosticable { ) final TextTheme? textTheme; - /// Overrides the default value for [AppBar.centerTitle]. - /// property in all descendant widgets. + /// Overrides the default value of [AppBar.centerTitle] + /// property in all descendant [AppBar] widgets. final bool? centerTitle; - /// Overrides the default value for the obsolete [AppBar.titleSpacing] + /// Overrides the default value of the obsolete [AppBar.titleSpacing] /// property in all descendant [AppBar] widgets. /// /// If null, [AppBar] uses default value of [NavigationToolbar.kMiddleSpacing]. final double? titleSpacing; - /// Overrides the default value for the [AppBar.toolbarHeight] + /// Overrides the default value of the [AppBar.toolbarHeight] /// property in all descendant [AppBar] widgets. /// /// See also: @@ -198,7 +198,7 @@ class AppBarTheme with Diagnosticable { /// height of an AppBar widget, taking this value into account. final double? toolbarHeight; - /// Overrides the default value for the obsolete [AppBar.toolbarTextStyle] + /// Overrides the default value of the obsolete [AppBar.toolbarTextStyle] /// property in all descendant [AppBar] widgets. /// /// If this property is specified, then [backwardsCompatibility]