Card
A material design card: a panel with slightly rounded corners and an elevation shadow.Properties
The Control to display inside the card.Tip: To display multiple children, wrap them in a control like
Row, Column, or Stack, which accept a controls list.The z-coordinate at which to place this card. Defines the size of the shadow below the card.Defaults to
CardTheme.elevation, or if that is None, falls back to 1.0.The card’s background color.
The color to paint the shadow below this card.Defaults to
CardTheme.shadow_color.The shape of this card.Defaults to
CardTheme.shape, or if that is None, falls back to RoundedRectangleBorder(radius=12.0).Defines how the
content will be clipped.Defaults to CardTheme.clip_behavior, or if that is None, falls back to ClipBehavior.NONE.Whether this card represents a single semantic container, or if it instead represents a collection of individual semantic nodes (different types of content).
Whether the shape of the border should be painted in front of the
content or behind.Defines the card variant to be used. Options:
CardVariant.ELEVATED: Standard elevated card styleCardVariant.FILLED: Filled card style emphasizing container colorCardVariant.OUTLINED: Outlined card style with a visible border