BrnMultiColumnPicker constructor

BrnMultiColumnPicker({
  1. Key? key,
  2. required PickerEntity entity,
  3. double maxHeight = 280.0,
  4. bool showSelectedCount = false,
  5. bool isIncludeUnLimit = false,
  6. BrnOnPickerConfirm? onConfirm,
  7. BrnOnEntityTap? onEntityTap,
  8. OnSelectEntityInterceptor? canSelectEntryInterceptor,
  9. List<int>? defaultFocusedIndexes,
  10. PickerTitleConfig pickerTitleConfig = PickerTitleConfig.Default,
  11. PickerConfig? themeData,
})

Implementation

BrnMultiColumnPicker(
    {Key? key,
    required this.entity,
    this.maxHeight = 280.0,
    this.showSelectedCount = false,
    this.isIncludeUnLimit = false,
    this.onConfirm,
    this.onEntityTap,
    this.canSelectEntryInterceptor,
    this.defaultFocusedIndexes,
    this.pickerTitleConfig = PickerTitleConfig.Default,
    this.themeData})
    : super(key: key) {
  themeData ??= PickerConfig();
  themeData =
      themeData!.merge(BaseThemeConfig.instance.getConfig().pickerConfig);
}