BloomEvent constructor
BloomEvent({
- required String type,
- String? value,
- bool? checked,
- Object? rawTarget,
- String? key,
- String? code,
- bool shiftKey = false,
- bool ctrlKey = false,
- bool altKey = false,
- bool metaKey = false,
- double? clientX,
- double? clientY,
- double? offsetX,
- double? offsetY,
- int? button,
- List<
String> ? files, - String? dataTransfer,
- void preventDefaultFn()?,
- void stopPropagationFn()?,
Creates a new BloomEvent descriptor with the given properties and lifecycle callbacks.
Implementation
BloomEvent({
required this.type,
this.value,
this.checked,
this.rawTarget,
this.key,
this.code,
this.shiftKey = false,
this.ctrlKey = false,
this.altKey = false,
this.metaKey = false,
this.clientX,
this.clientY,
this.offsetX,
this.offsetY,
this.button,
this.files,
this.dataTransfer,
void Function()? preventDefaultFn,
void Function()? stopPropagationFn,
}) : _preventDefaultFn = preventDefaultFn,
_stopPropagationFn = stopPropagationFn;