Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import 'detail_hero_model.dart';
|
||||
import 'detail_image_model.dart';
|
||||
import 'detail_section_model.dart';
|
||||
|
||||
|
||||
class DetailViewState {
|
||||
|
||||
final DetailImageModel image;
|
||||
|
||||
|
||||
final String navTitle;
|
||||
|
||||
|
||||
final DetailHeroModel hero;
|
||||
|
||||
|
||||
final List<DetailSection> sections;
|
||||
|
||||
|
||||
final bool showLoadingBelowHero;
|
||||
|
||||
const DetailViewState({
|
||||
required this.image,
|
||||
required this.navTitle,
|
||||
required this.hero,
|
||||
this.sections = const <DetailSection>[],
|
||||
this.showLoadingBelowHero = false,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user