AppMultipleItemsHandler<T> constructor

const AppMultipleItemsHandler<T>(
  1. FutureOr<void> onChanged(
    1. List<T>
    ), {
  2. List<T> initialValue = const [],
  3. ListTileControlAffinity controlAffinity = ListTileControlAffinity.leading,
  4. bool compareItems(
    1. T,
    2. T
    )?,
  5. String itemAsString(
    1. T
    )?,
  6. bool filterItems(
    1. T,
    2. String
    )?,
})

Implementation

const AppMultipleItemsHandler(
  this.onChanged, {
  this.initialValue = const [],
  this.controlAffinity = ListTileControlAffinity.leading,
  super.compareItems,
  super.itemAsString,
  super.filterItems,
});