MovieCard.listItem constructor
- Key? key,
- required Movie movie,
- bool? fromCache,
- Duration? cacheAge,
- bool? cacheOnlyMode,
- VoidCallback? onTap,
- Widget? trailing,
- Widget? customSubtitle,
- FavoritesService? favoritesService,
- Widget? parentWidget,
Creates a list item-style movie card.
Implementation
const MovieCard.listItem({
super.key,
required this.movie,
this.fromCache,
this.cacheAge,
this.cacheOnlyMode,
this.onTap,
this.trailing,
this.customSubtitle,
this.favoritesService,
this.parentWidget,
}) : style = MovieCardStyle.listItem,
width = 50,
height = 75;