CardTile constructor
const
CardTile({
- Key? key,
- VoidCallback? onTap,
- double? width,
- double height = kCardHeight,
- ImageProvider<
Object> ? image, - Color? backgroundColor,
- Color? shadowColor,
- double? elevation,
- ShapeBorder? shape,
- EdgeInsetsGeometry? margin,
- BoxFit fit = BoxFit.cover,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? trailing,
- Color? iconColor,
- Color? textColor,
- EdgeInsetsGeometry? contentPadding,
A widget for displaying an image or text over a card widget.
Use in conjunction with ListTile.
カードウィジェットの上に画像やテキストを重ねて表示するためのウィジェット。
ListTileと併用して使ってください。
Implementation
const CardTile({
super.key,
this.onTap,
this.width,
this.height = kCardHeight,
this.image,
this.backgroundColor,
this.shadowColor,
this.elevation,
this.shape,
this.margin,
this.fit = BoxFit.cover,
this.leading,
this.title,
this.subtitle,
this.trailing,
this.iconColor,
this.textColor,
this.contentPadding,
});