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
    )?,
})

Implementation

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