Skip to content

Commit aee6af7

Browse files
authored
ui.PointerSignalKind forwards compatibility for scale (#112170)
1 parent d766269 commit aee6af7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/flutter/lib/src/gestures/converter.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ class PointerEventConverter {
268268
embedderId: datum.embedderId,
269269
);
270270
case ui.PointerSignalKind.unknown:
271+
default: // ignore: no_default_cases, to allow adding new [PointerSignalKind]
272+
// TODO(moffatman): Remove after landing https://github.com/flutter/engine/pull/36342
271273
// This branch should already have 'unknown' filtered out, but
272274
// we don't want to return anything or miss if someone adds a new
273275
// enumeration to PointerSignalKind.

0 commit comments

Comments
 (0)