SelectionView constructor
SelectionView({
- Key? key,
- required List<
SelectionEntity> originalSelectionData, - BrnSelectionViewController? selectionViewController,
- required OnSelectionChanged onSelectionChanged,
- ConfigTagCountPerRow? configRowCount,
- SelectionConverterDelegate selectionConverterDelegate = _defaultConverter,
- OnMenuItemInterceptor? onMenuClickInterceptor,
- OnCustomSelectionMenuClick? onCustomSelectionMenuClick,
- OnCustomFloatingLayerClick? onCustomFloatingLayerClick,
- OnMoreSelectionMenuClick? onMoreSelectionMenuClick,
- OnDefaultParamsPrepared? onDefaultParamsPrepared,
- OnSelectionPreShow? onSelectionPreShow,
- double? constantTop,
- ScrollController? extraScrollController,
- SelectionConfig? themeData,
Implementation
SelectionView(
{Key? key,
required this.originalSelectionData,
this.selectionViewController,
required this.onSelectionChanged,
this.configRowCount,
this.selectionConverterDelegate = _defaultConverter,
this.onMenuClickInterceptor,
this.onCustomSelectionMenuClick,
this.onCustomFloatingLayerClick,
this.onMoreSelectionMenuClick,
this.onDefaultParamsPrepared,
this.onSelectionPreShow,
this.constantTop,
this.extraScrollController,
this.themeData})
: super(key: key) {
themeData ??= SelectionConfig();
themeData = BaseThemeConfig.instance
.getConfig(configId: themeData!.configId)
.selectionConfig
.merge(themeData!);
}