Skip to content

Commit a27fcf1

Browse files
authored
Update app bar theme property docs (#102501)
1 parent 1a7a766 commit a27fcf1

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

packages/flutter/lib/src/material/app_bar_theme.dart

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ class AppBarTheme with Diagnosticable {
106106
///
107107
/// See also:
108108
///
109-
/// * [foregroundColor], which overrides the default value for
110-
/// [AppBar.foregroundColor] in all descendant widgets.
109+
/// * [foregroundColor], which overrides the default value of
110+
/// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
111111
final Color? backgroundColor;
112112

113113
/// Overrides the default value of [AppBar.foregroundColor] in all
114-
/// descendant widgets.
114+
/// descendant [AppBar] widgets.
115115
///
116116
/// See also:
117117
///
118-
/// * [backgroundColor], which overrides the default value for
118+
/// * [backgroundColor], which overrides the default value of
119119
/// [AppBar.backgroundColor] in all descendant [AppBar] widgets.
120120
final Color? foregroundColor;
121121

@@ -127,38 +127,38 @@ class AppBarTheme with Diagnosticable {
127127
/// descendant [AppBar] widgets.
128128
final double? scrolledUnderElevation;
129129

130-
/// Overrides the default value for [AppBar.shadowColor] in all
131-
/// descendant widgets.
130+
/// Overrides the default value of [AppBar.shadowColor] in all
131+
/// descendant [AppBar] widgets.
132132
final Color? shadowColor;
133133

134-
/// Overrides the default value for [AppBar.surfaceTintColor] in all
135-
/// descendant widgets.
134+
/// Overrides the default value of [AppBar.surfaceTintColor] in all
135+
/// descendant [AppBar] widgets.
136136
final Color? surfaceTintColor;
137137

138-
/// Overrides the default value for [AppBar.shape] in all
139-
/// descendant widgets.
138+
/// Overrides the default value of [AppBar.shape] in all
139+
/// descendant [AppBar] widgets.
140140
final ShapeBorder? shape;
141141

142142
/// Overrides the default value of [AppBar.iconTheme] in all
143143
/// descendant [AppBar] widgets.
144144
///
145145
/// See also:
146146
///
147-
/// * [actionsIconTheme], which overrides the default value for
147+
/// * [actionsIconTheme], which overrides the default value of
148148
/// [AppBar.actionsIconTheme] in all descendant [AppBar] widgets.
149149
/// * [foregroundColor], which overrides the default value
150-
/// [AppBar.foregroundColor] in all descendant widgets.
150+
/// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
151151
final IconThemeData? iconTheme;
152152

153153
/// Overrides the default value of [AppBar.actionsIconTheme] in all
154-
/// descendant widgets.
154+
/// descendant [AppBar] widgets.
155155
///
156156
/// See also:
157157
///
158-
/// * [iconTheme], which overrides the default value for
159-
/// [AppBar.iconTheme] in all descendant widgets.
158+
/// * [iconTheme], which overrides the default value of
159+
/// [AppBar.iconTheme] in all descendant [AppBar] widgets.
160160
/// * [foregroundColor], which overrides the default value
161-
/// [AppBar.foregroundColor] in all descendant widgets.
161+
/// [AppBar.foregroundColor] in all descendant [AppBar] widgets.
162162
final IconThemeData? actionsIconTheme;
163163

164164
/// This property is deprecated, please use [toolbarTextStyle] and
@@ -169,27 +169,27 @@ class AppBarTheme with Diagnosticable {
169169
///
170170
/// See also:
171171
///
172-
/// * [toolbarTextStyle], which overrides the default value for
172+
/// * [toolbarTextStyle], which overrides the default value of
173173
/// [AppBar.toolbarTextStyle in all descendant [AppBar] widgets.
174-
/// * [titleTextStyle], which overrides the default value for
174+
/// * [titleTextStyle], which overrides the default value of
175175
/// [AppBar.titleTextStyle in all descendant [AppBar] widgets.
176176
@Deprecated(
177177
'This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. '
178178
'This feature was deprecated after v2.4.0-0.0.pre.',
179179
)
180180
final TextTheme? textTheme;
181181

182-
/// Overrides the default value for [AppBar.centerTitle].
183-
/// property in all descendant widgets.
182+
/// Overrides the default value of [AppBar.centerTitle]
183+
/// property in all descendant [AppBar] widgets.
184184
final bool? centerTitle;
185185

186-
/// Overrides the default value for the obsolete [AppBar.titleSpacing]
186+
/// Overrides the default value of the obsolete [AppBar.titleSpacing]
187187
/// property in all descendant [AppBar] widgets.
188188
///
189189
/// If null, [AppBar] uses default value of [NavigationToolbar.kMiddleSpacing].
190190
final double? titleSpacing;
191191

192-
/// Overrides the default value for the [AppBar.toolbarHeight]
192+
/// Overrides the default value of the [AppBar.toolbarHeight]
193193
/// property in all descendant [AppBar] widgets.
194194
///
195195
/// See also:
@@ -198,7 +198,7 @@ class AppBarTheme with Diagnosticable {
198198
/// height of an AppBar widget, taking this value into account.
199199
final double? toolbarHeight;
200200

201-
/// Overrides the default value for the obsolete [AppBar.toolbarTextStyle]
201+
/// Overrides the default value of the obsolete [AppBar.toolbarTextStyle]
202202
/// property in all descendant [AppBar] widgets.
203203
///
204204
/// If this property is specified, then [backwardsCompatibility]

0 commit comments

Comments
 (0)