MovieCard constructor

const MovieCard({
  1. Key? key,
  2. required Movie movie,
  3. bool? fromCache,
  4. Duration? cacheAge,
  5. bool? cacheOnlyMode,
  6. VoidCallback? onTap,
  7. MovieCardStyle style = MovieCardStyle.poster,
  8. double? width,
  9. double? height,
  10. Widget? trailing,
  11. Widget? customSubtitle,
  12. FavoritesService? favoritesService,
  13. Widget? parentWidget,
})

Creates a movie card widget.

Implementation

const MovieCard({
  super.key,
  required this.movie,
  this.fromCache,
  this.cacheAge,
  this.cacheOnlyMode,
  this.onTap,
  this.style = MovieCardStyle.poster,
  this.width,
  this.height,
  this.trailing,
  this.customSubtitle,
  this.favoritesService,
  this.parentWidget,
});