PostCardMedia constructor
PostCardMedia({
- Key? key,
- required List<
Media> ? mediaList, - bool onlyHorizontalList = false,
- bool? isMediaPage,
- int? totalItems,
- int? pageNumber,
- bool? isNewsPage,
- bool? isLearningPage,
- String link = "",
- String? ownerType,
- int? ownerId,
- String? postType,
- bool? isFilterPage,
- bool? fullPage,
- Function? onItemClick,
- Null onPositionChange(
- int position
- int? pagePosition,
- bool? isFullImageUrl,
- String? mainColor,
- String? baseUrl,
- String? urlWithoutHttp,
- 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;
}