Sitelet https://github.com/flutter/flutter/issues/265
Skip to content

Use different classes for each input event type #265

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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