SelectionView constructor

SelectionView({
  1. Key? key,
  2. required List<SelectionEntity> originalSelectionData,
  3. BrnSelectionViewController? selectionViewController,
  4. required OnSelectionChanged onSelectionChanged,
  5. ConfigTagCountPerRow? configRowCount,
  6. SelectionConverterDelegate selectionConverterDelegate = _defaultConverter,
  7. OnMenuItemInterceptor? onMenuClickInterceptor,
  8. OnCustomSelectionMenuClick? onCustomSelectionMenuClick,
  9. OnCustomFloatingLayerClick? onCustomFloatingLayerClick,
  10. OnMoreSelectionMenuClick? onMoreSelectionMenuClick,
  11. OnDefaultParamsPrepared? onDefaultParamsPrepared,
  12. OnSelectionPreShow? onSelectionPreShow,
  13. double? constantTop,
  14. ScrollController? extraScrollController,
  15. 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!);
}