Unverified Commit 58e30852 authored by Chris Bobbe's avatar Chris Bobbe Committed by GitHub

BottomAppBar doc: Fix doc about surfaceTintColor (#124563)

parent 01b4dd5e
...@@ -127,11 +127,17 @@ class BottomAppBar extends StatefulWidget { ...@@ -127,11 +127,17 @@ class BottomAppBar extends StatefulWidget {
/// Not used if [shape] is null. /// Not used if [shape] is null.
final double notchMargin; final double notchMargin;
/// The color used as an overlay on [color] to indicate elevation. /// A custom color for the Material 3 surface-tint elevation effect.
/// ///
/// If this is null, no overlay will be applied. Otherwise the /// In Material 3, a "surface tint" with an opacity related to [elevation]
/// color will be composited on top of [color] with an opacity related /// will be applied to the [BottomAppBar]'s background.
/// to [elevation] and used to paint the background of the [BottomAppBar]. /// Use this property to override the default color of that tint.
///
/// If this property is null, then [BottomAppBarTheme.surfaceTintColor]
/// of [ThemeData.bottomAppBarTheme] is used.
/// If that is also null, [ColorScheme.surfaceTint] is used.
///
/// Ignored if [ThemeData.useMaterial3] is false.
/// ///
/// The default is null. /// The default is null.
/// ///
......
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