Skip to content

Commit c32ea21

Browse files
authored
PointerSignalKind forwards-compatibility (#106906)
1 parent 27733ff commit c32ea21

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
@@ -263,6 +263,8 @@ class PointerEventConverter {
263263
embedderId: datum.embedderId,
264264
);
265265
case ui.PointerSignalKind.unknown:
266+
default: // ignore: no_default_cases, to allow adding a new [PointerSignalKind]
267+
// TODO(moffatman): Remove after landing https://github.com/flutter/engine/pull/34402
266268
// This branch should already have 'unknown' filtered out, but
267269
// we don't want to return anything or miss if someone adds a new
268270
// enumeration to PointerSignalKind.

0 commit comments

Comments
 (0)