We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5a1ea commit 5b87e4fCopy full SHA for 5b87e4f
packages/flutter/lib/src/material/app_bar.dart
@@ -132,7 +132,8 @@ class _PreferredAppBarSize extends Size {
132
/// be visible if their foreground (text) color is the same as the
133
/// app bar's background color.
134
///
135
-/// The default app bar [backgroundColor] is the overall theme's
+/// In Material v2 (i.e., when [ThemeData.useMaterial3] is false),
136
+/// the default app bar [backgroundColor] is the overall theme's
137
/// [ColorScheme.primary] if the overall theme's brightness is
138
/// [Brightness.light]. Unfortunately this is the same as the default
139
/// [ButtonStyle.foregroundColor] for [TextButton] for light themes.
0 commit comments