MovieCard constructor
- Key? key,
- required Movie movie,
- bool? fromCache,
- Duration? cacheAge,
- bool? cacheOnlyMode,
- VoidCallback? onTap,
- MovieCardStyle style = MovieCardStyle.poster,
- double? width,
- double? height,
- Widget? trailing,
- Widget? customSubtitle,
- FavoritesService? favoritesService,
- 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,
});