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