docs: update docs about color property in material card (#117263)
* update docs * * * typo * Revert "typo" This reverts commit 3e25d4be337b1a41d24b1a86136606d6551b30cf. * Update card.dart * Update card.dart * Update card.dart
This commit is contained in:
@@ -78,8 +78,9 @@ class Card extends StatelessWidget {
|
||||
///
|
||||
/// Defines the card's [Material.color].
|
||||
///
|
||||
/// If this property is null then [CardTheme.color] of [ThemeData.cardTheme]
|
||||
/// is used. If that's null then [ThemeData.cardColor] is used.
|
||||
/// If this property is null then the ambient [CardTheme.color] is used. If that is null,
|
||||
/// and [ThemeData.useMaterial3] is true, then [ColorScheme.surface] of
|
||||
/// [ThemeData.colorScheme] is used. Otherwise, [ThemeData.cardColor] is used.
|
||||
final Color? color;
|
||||
|
||||
/// The color to paint the shadow below the card.
|
||||
|
||||
Reference in New Issue
Block a user