Unverified Commit a27fcf1a authored by Joshua Tang's avatar Joshua Tang Committed by GitHub

Update app bar theme property docs (#102501)

parent 1a7a766d
...@@ -106,16 +106,16 @@ class AppBarTheme with Diagnosticable { ...@@ -106,16 +106,16 @@ class AppBarTheme with Diagnosticable {
/// ///
/// See also: /// See also:
/// ///
/// * [foregroundColor], which overrides the default value for /// * [foregroundColor], which overrides the default value of
/// [AppBar.foregroundColor] in all descendant widgets. /// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
final Color? backgroundColor; final Color? backgroundColor;
/// Overrides the default value of [AppBar.foregroundColor] in all /// Overrides the default value of [AppBar.foregroundColor] in all
/// descendant widgets. /// descendant [AppBar] widgets.
/// ///
/// See also: /// See also:
/// ///
/// * [backgroundColor], which overrides the default value for /// * [backgroundColor], which overrides the default value of
/// [AppBar.backgroundColor] in all descendant [AppBar] widgets. /// [AppBar.backgroundColor] in all descendant [AppBar] widgets.
final Color? foregroundColor; final Color? foregroundColor;
...@@ -127,16 +127,16 @@ class AppBarTheme with Diagnosticable { ...@@ -127,16 +127,16 @@ class AppBarTheme with Diagnosticable {
/// descendant [AppBar] widgets. /// descendant [AppBar] widgets.
final double? scrolledUnderElevation; final double? scrolledUnderElevation;
/// Overrides the default value for [AppBar.shadowColor] in all /// Overrides the default value of [AppBar.shadowColor] in all
/// descendant widgets. /// descendant [AppBar] widgets.
final Color? shadowColor; final Color? shadowColor;
/// Overrides the default value for [AppBar.surfaceTintColor] in all /// Overrides the default value of [AppBar.surfaceTintColor] in all
/// descendant widgets. /// descendant [AppBar] widgets.
final Color? surfaceTintColor; final Color? surfaceTintColor;
/// Overrides the default value for [AppBar.shape] in all /// Overrides the default value of [AppBar.shape] in all
/// descendant widgets. /// descendant [AppBar] widgets.
final ShapeBorder? shape; final ShapeBorder? shape;
/// Overrides the default value of [AppBar.iconTheme] in all /// Overrides the default value of [AppBar.iconTheme] in all
...@@ -144,21 +144,21 @@ class AppBarTheme with Diagnosticable { ...@@ -144,21 +144,21 @@ class AppBarTheme with Diagnosticable {
/// ///
/// See also: /// See also:
/// ///
/// * [actionsIconTheme], which overrides the default value for /// * [actionsIconTheme], which overrides the default value of
/// [AppBar.actionsIconTheme] in all descendant [AppBar] widgets. /// [AppBar.actionsIconTheme] in all descendant [AppBar] widgets.
/// * [foregroundColor], which overrides the default value /// * [foregroundColor], which overrides the default value
/// [AppBar.foregroundColor] in all descendant widgets. /// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
final IconThemeData? iconTheme; final IconThemeData? iconTheme;
/// Overrides the default value of [AppBar.actionsIconTheme] in all /// Overrides the default value of [AppBar.actionsIconTheme] in all
/// descendant widgets. /// descendant [AppBar] widgets.
/// ///
/// See also: /// See also:
/// ///
/// * [iconTheme], which overrides the default value for /// * [iconTheme], which overrides the default value of
/// [AppBar.iconTheme] in all descendant widgets. /// [AppBar.iconTheme] in all descendant [AppBar] widgets.
/// * [foregroundColor], which overrides the default value /// * [foregroundColor], which overrides the default value
/// [AppBar.foregroundColor] in all descendant widgets. /// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
final IconThemeData? actionsIconTheme; final IconThemeData? actionsIconTheme;
/// This property is deprecated, please use [toolbarTextStyle] and /// This property is deprecated, please use [toolbarTextStyle] and
...@@ -169,9 +169,9 @@ class AppBarTheme with Diagnosticable { ...@@ -169,9 +169,9 @@ class AppBarTheme with Diagnosticable {
/// ///
/// See also: /// See also:
/// ///
/// * [toolbarTextStyle], which overrides the default value for /// * [toolbarTextStyle], which overrides the default value of
/// [AppBar.toolbarTextStyle in all descendant [AppBar] widgets. /// [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. /// [AppBar.titleTextStyle in all descendant [AppBar] widgets.
@Deprecated( @Deprecated(
'This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. ' 'This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. '
...@@ -179,17 +179,17 @@ class AppBarTheme with Diagnosticable { ...@@ -179,17 +179,17 @@ class AppBarTheme with Diagnosticable {
) )
final TextTheme? textTheme; final TextTheme? textTheme;
/// Overrides the default value for [AppBar.centerTitle]. /// Overrides the default value of [AppBar.centerTitle]
/// property in all descendant widgets. /// property in all descendant [AppBar] widgets.
final bool? centerTitle; 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. /// property in all descendant [AppBar] widgets.
/// ///
/// If null, [AppBar] uses default value of [NavigationToolbar.kMiddleSpacing]. /// If null, [AppBar] uses default value of [NavigationToolbar.kMiddleSpacing].
final double? titleSpacing; 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. /// property in all descendant [AppBar] widgets.
/// ///
/// See also: /// See also:
...@@ -198,7 +198,7 @@ class AppBarTheme with Diagnosticable { ...@@ -198,7 +198,7 @@ class AppBarTheme with Diagnosticable {
/// height of an AppBar widget, taking this value into account. /// height of an AppBar widget, taking this value into account.
final double? toolbarHeight; 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. /// property in all descendant [AppBar] widgets.
/// ///
/// If this property is specified, then [backwardsCompatibility] /// If this property is specified, then [backwardsCompatibility]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment