Skip to content

Commit

Permalink
PointerSignalKind forwards-compatibility (#106906)
Browse files Browse the repository at this point in the history
  • Loading branch information
moffatman committed Jul 7, 2022
1 parent 27733ff commit c32ea21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/flutter/lib/src/gestures/converter.dart
Expand Up @@ -263,6 +263,8 @@ class PointerEventConverter {
embedderId: datum.embedderId,
);
case ui.PointerSignalKind.unknown:
default: // ignore: no_default_cases, to allow adding a new [PointerSignalKind]
// TODO(moffatman): Remove after landing https://github.com/flutter/engine/pull/34402
// This branch should already have 'unknown' filtered out, but
// we don't want to return anything or miss if someone adds a new
// enumeration to PointerSignalKind.
Expand Down

0 comments on commit c32ea21

Please sign in to comment.