TSelectionView constructor

TSelectionView({
  1. Key? key,
  2. required List<TSelectionEntity> originalSelectionData,
  3. TSelectionViewController? selectionViewController,
  4. required TOnSelectionChanged onSelectionChanged,
  5. TConfigTagCountPerRow? configRowCount,
  6. TSelectionConverterDelegate selectionConverterDelegate = _defaultConverter,
  7. TOnMenuItemInterceptor? onMenuClickInterceptor,
  8. TOnCustomSelectionMenuClick? onCustomSelectionMenuClick,
  9. TOnCustomFloatingLayerClick? onCustomFloatingLayerClick,
  10. TOnMoreSelectionMenuClick? onMoreSelectionMenuClick,
  11. OnDefaultParamsPrepared? onDefaultParamsPrepared,
  12. TOnSelectionPreShow? onSelectionPreShow,
  13. double? constantTop,
  14. ScrollController? extraScrollController,
  15. TSelectionConfig? themeData,
})

Implementation

TSelectionView(
    {super.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}) {
  themeData ??= TSelectionConfig();
}