Skip to content

Use different classes for each input event type #265

Closed

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

  1. added this to the milestone on Nov 9, 2015
  2. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 9, 2015
  3. FlutterIssues commented on Nov 9, 2015

    @FlutterIssues
    Author

    Comment by Hixie
    Friday Nov 06, 2015 at 00:53 GMT


    Seth tells me this would be good for perf, too.

  4. self-assigned this
    on Dec 3, 2015
  5. github-actions commented on Aug 17, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 17, 2021
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