onMaxQuantityValues property

(void Function(int maxQuantityValues)?) onMaxQuantityValues
final

The Callback function called when values.length == maxQuantityValues.

Example of usage:

TypeSelector(
  onMaxQuantityValues: (max) {
      print('Max quantity reached: $max');
  },
  multiple: true,
  // other properties
);

Implementation

final void Function(int maxQuantityValues)? onMaxQuantityValues;