界面完善

This commit is contained in:
DelLevin-Home
2026-06-20 21:32:23 +08:00
parent e193c294af
commit a84d4c03e8
11 changed files with 1241 additions and 287 deletions

View File

@@ -141,7 +141,7 @@ class Movie {
List<String>? genres,
List<String>? alternateTitles,
Object? summary = _copyWithNull,
double? rating,
Object? rating = _copyWithNull,
String? status,
DateTime? watchDate,
DateTime? createdAt,
@@ -160,7 +160,7 @@ class Movie {
genres: genres ?? this.genres,
alternateTitles: alternateTitles ?? this.alternateTitles,
summary: summary is _CopyWithNullSentinel ? this.summary : (summary as String?),
rating: rating ?? this.rating,
rating: rating is _CopyWithNullSentinel ? this.rating : (rating as double?),
status: status ?? this.status,
watchDate: watchDate ?? this.watchDate,
createdAt: createdAt ?? this.createdAt,
@@ -273,7 +273,7 @@ class Book {
String? publisher,
List<String>? genres,
Object? summary = _copyWithNull,
double? rating,
Object? rating = _copyWithNull,
String? status,
Object? isbn = _copyWithNull,
DateTime? publishDate,
@@ -291,7 +291,7 @@ class Book {
publisher: publisher ?? this.publisher,
genres: genres ?? this.genres,
summary: summary is _CopyWithNullSentinel ? this.summary : (summary as String?),
rating: rating ?? this.rating,
rating: rating is _CopyWithNullSentinel ? this.rating : (rating as double?),
status: status ?? this.status,
isbn: isbn is _CopyWithNullSentinel ? this.isbn : (isbn as String?),
publishDate: publishDate ?? this.publishDate,