MultipleItemsBloc( List<T>? initialSelectedItems, this.onMultipleItemsChange, ) { selectedItems = initialSelectedItems ?? <T>[]; }