set web renderer

This commit is contained in:
2024-05-03 12:29:17 +02:00
parent 832126259f
commit 476660bf3e
4 changed files with 57 additions and 51 deletions
+3 -1
View File
@@ -152,7 +152,9 @@ class TVShow {
download: json['download'],
overview: '',
backdropPath: '',
seasonStatus: [],
seasonStatus: json['seasons']
.map<Season>((json) => Season.fromJson(json))
.toList(),
languages: '',
networks: '',
originCountries: '',
@@ -323,10 +323,10 @@ class MovieDetailsScreen extends StatelessWidget {
return Stack(children: [
Container(
decoration: BoxDecoration(
image: DecorationImage(
image: movieDetails.backdropPath.isNotEmpty ? DecorationImage(
image: NetworkImage(url),
fit: BoxFit.cover,
),
) : null,
),
),
SingleChildScrollView(
@@ -342,10 +342,10 @@ class TVShowDetailsScreen extends StatelessWidget {
return Stack(children: [
Container(
decoration: BoxDecoration(
image: DecorationImage(
image: tvShowDetails.backdropPath.isNotEmpty ? DecorationImage(
image: NetworkImage(url),
fit: BoxFit.cover,
),
) : null,
),
),
SingleChildScrollView(