PostCardMedia constructor

PostCardMedia({
  1. Key? key,
  2. required List<Media>? mediaList,
  3. bool onlyHorizontalList = false,
  4. bool? isMediaPage,
  5. int? totalItems,
  6. int? pageNumber,
  7. bool? isNewsPage,
  8. bool? isLearningPage,
  9. String link = "",
  10. String? ownerType,
  11. int? ownerId,
  12. String? postType,
  13. bool? isFilterPage,
  14. bool? fullPage,
  15. Function? onItemClick,
  16. Null onPositionChange(
    1. int position
    )?,
  17. int? pagePosition,
  18. bool? isFullImageUrl,
  19. String? mainColor,
  20. String? baseUrl,
  21. String? urlWithoutHttp,
  22. bool? isLocalFile,
})

Implementation

PostCardMedia(
    {Key? key,
    required this.mediaList,
    this.onlyHorizontalList = false,
    // this.downloadButtonKey,
    this.isMediaPage,
    this.totalItems,
    this.pageNumber,
    this.isNewsPage,
    this.isLearningPage,
    this.link = "",
    this.ownerType,
    this.ownerId,
    this.postType,
    this.isFilterPage,
    bool? fullPage,
    this.onItemClick,
    this.onPositionChange,
    this.pagePosition,
    this.isFullImageUrl,
    this.mainColor,
    this.baseUrl,
    this.urlWithoutHttp,
    this.isLocalFile})
    : super(key: key) {
  onFullPage = fullPage;
}