OnItemAdded<T> typedef Null safety

OnItemAdded<T> = void Function(List<T> selectedItems, T addedItem)

Implementation

typedef void OnItemAdded<T>(List<T> selectedItems, T addedItem);