Skip to content

Use different classes for each input event type #265

@FlutterIssues

Description

@FlutterIssues

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).

Metadata

Metadata

Assignees

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions