DetailParams constructor
DetailParams(
- {BoxFit? imageFit = BoxFit.cover,
- Widget tagsBuilder(
- BuildContext
)?,
- bool isAppBarExpandable = true,
- List? images,
- Widget contentBuilder(
- BuildContext
)?,
- Widget afterTitleBuilder(
- BuildContext
)?,
- Widget afterContentBuilder(
- BuildContext
)?,
- List? relatedContent,
- String? shareText,
- String? shareSubject,
- Future<DetailParams>? itemBuilder,
- dynamic item,
- String? itemTitle,
- required String itemType,
- String? imageUrl,
- String? title(
- BuildContext?
)?,
- Future content(
- bool forceRefresh
)?,
- required String screenTitle,
- dynamic shareButtonHeroTag}
)
Implementation
DetailParams(
{this.imageFit = BoxFit.cover,
this.tagsBuilder,
this.isAppBarExpandable = true,
this.images,
this.contentBuilder,
this.afterTitleBuilder,
this.afterContentBuilder,
this.relatedContent,
this.shareText,
this.shareSubject,
this.itemBuilder,
this.item,
this.itemTitle,
required this.itemType,
this.imageUrl,
this.title,
this.content,
required this.screenTitle,
shareButtonHeroTag})
: shareButtonHeroTag = shareButtonHeroTag ?? 'share_from_detail';