GalleryDetailPage constructor
GalleryDetailPage({
- Key? key,
- required List<
BasicGroupConfig> allConfig, - int initGroupId = 0,
- int initIndexId = 0,
- bool fromSummary = false,
- Widget detailRightAction()?,
- GalleryController? controller,
- 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);
}