Initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
|
||||
class DetailHeroModel {
|
||||
final String title;
|
||||
final String? logoUrl;
|
||||
final String? posterUrl;
|
||||
final double? rating;
|
||||
final List<String> metaParts;
|
||||
final List<String> genres;
|
||||
final String? tagline;
|
||||
final String? overview;
|
||||
final Widget? actions;
|
||||
|
||||
|
||||
final Map<String, String>? imageHeaders;
|
||||
|
||||
const DetailHeroModel({
|
||||
required this.title,
|
||||
this.logoUrl,
|
||||
this.posterUrl,
|
||||
this.rating,
|
||||
this.metaParts = const <String>[],
|
||||
this.genres = const <String>[],
|
||||
this.tagline,
|
||||
this.overview,
|
||||
this.actions,
|
||||
this.imageHeaders,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user