AppSingleItemHandler<T> constructor

const AppSingleItemHandler<T>(
  1. FutureOr<void> onChanged(
    1. T?
    ), {
  2. T? initialValue,
  3. bool compareItems(
    1. T,
    2. T
    )?,
  4. String itemAsString(
    1. T
    )?,
  5. bool filterItems(
    1. T,
    2. String
    )?,
})

Implementation

const AppSingleItemHandler(
  this.onChanged, {
  this.initialValue,
  super.compareItems,
  super.itemAsString,
  super.filterItems,
});