mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
PointerSignalKind forwards-compatibility (#106906)
This commit is contained in:
parent
27733ff554
commit
c32ea2171b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user