Skip to content

Commit

Permalink
BottomAppBar doc: Fix doc about surfaceTintColor (#124563)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe authored Apr 20, 2023
1 parent 01b4dd5 commit 58e3085
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions packages/flutter/lib/src/material/bottom_app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,17 @@ class BottomAppBar extends StatefulWidget {
/// Not used if [shape] is null.
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
/// color will be composited on top of [color] with an opacity related
/// to [elevation] and used to paint the background of the [BottomAppBar].
/// In Material 3, a "surface tint" with an opacity related to [elevation]
/// will be applied to the [BottomAppBar]'s background.
/// 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.
///
Expand Down

0 comments on commit 58e3085

Please sign in to comment.