Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a27fcf1a
Unverified
Commit
a27fcf1a
authored
Jun 03, 2022
by
Joshua Tang
Committed by
GitHub
Jun 03, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update app bar theme property docs (#102501)
parent
1a7a766d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
app_bar_theme.dart
packages/flutter/lib/src/material/app_bar_theme.dart
+23
-23
No files found.
packages/flutter/lib/src/material/app_bar_theme.dart
View file @
a27fcf1a
...
...
@@ -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]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment