GalleryDetailPage constructor

GalleryDetailPage({
  1. Key? key,
  2. required List<BasicGroupConfig> allConfig,
  3. int initGroupId = 0,
  4. int initIndexId = 0,
  5. bool fromSummary = false,
  6. Widget detailRightAction(
    1. int? groupId,
    2. int? indexId
    )?,
  7. GalleryController? controller,
  8. GalleryDetailConfig? themeData,
})

Implementation

GalleryDetailPage(
    {Key? key,
    required this.allConfig,
    this.initGroupId = 0,
    this.initIndexId = 0,
    this.fromSummary = false,
    this.detailRightAction,
    this.controller,
    this.themeData})
    : super(key: key) {
  themeData ??= GalleryDetailConfig();
  themeData = BaseThemeConfig.instance
      .getConfig(configId: themeData!.configId)
      .galleryDetailConfig
      .merge(themeData);
}