Issue by Hixie
Friday Nov 06, 2015 at 00:51 GMT
Originally opened as https://github.com/flutter/engine/issues/1981
For legacy reasons right now PointerInputEvent uses a String type field to distinguish different event types. We should just have different classes for each type, as per https://github.com/flutter/engine/blob/master/sky/specs/pointer.md (though that exact spec is woefully out of date at this point).
Friday Nov 06, 2015 at 00:51 GMT
Originally opened as https://github.com/flutter/engine/issues/1981
For legacy reasons right now PointerInputEvent uses a String
typefield to distinguish different event types. We should just have different classes for each type, as per https://github.com/flutter/engine/blob/master/sky/specs/pointer.md (though that exact spec is woefully out of date at this point).