MovieCard.poster constructor

const MovieCard.poster({
  1. Key? key,
  2. required Movie movie,
  3. bool? fromCache,
  4. Duration? cacheAge,
  5. bool? cacheOnlyMode,
  6. VoidCallback? onTap,
  7. double? width = 130,
  8. double? height,
  9. FavoritesService? favoritesService,
  10. 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;