DetailParams constructor

DetailParams(
  1. {BoxFit? imageFit = BoxFit.cover,
  2. Widget tagsBuilder(
    1. BuildContext
    )?,
  3. bool isAppBarExpandable = true,
  4. List? images,
  5. Widget contentBuilder(
    1. BuildContext
    )?,
  6. Widget afterTitleBuilder(
    1. BuildContext
    )?,
  7. Widget afterContentBuilder(
    1. BuildContext
    )?,
  8. List? relatedContent,
  9. String? shareText,
  10. String? shareSubject,
  11. Future<DetailParams>? itemBuilder,
  12. dynamic item,
  13. String? itemTitle,
  14. required String itemType,
  15. String? imageUrl,
  16. String? title(
    1. BuildContext?
    )?,
  17. Future content(
    1. bool forceRefresh
    )?,
  18. required String screenTitle,
  19. 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';