包装重新PointerEventevent
class PointerEventWrapper {
final PointerEventevent;
PointerEventWrapper(this.event);
@override
booloperator == (Object other) {
return (otheris PointerEventWrapper) && other.event.device ==event.device;
}
@override
intget hashCode =>event.device;
}
网友评论