CustomElementEvent<T> constructor

CustomElementEvent<T>({
  1. required Event rawEvent,
  2. required String type,
  3. T? detail,
  4. Element? target,
})

Creates a CustomElementEvent wrapping rawEvent with type and converted detail.

Implementation

CustomElementEvent({
  required this.rawEvent,
  required this.type,
  this.detail,
  this.target,
});